Package Exports
- @webcarrot/copy-declaration-ts
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@webcarrot/copy-declaration-ts) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@webcarrot/copy-declaration-ts
Copy *.d.ts
files from source directory into build/dist directory
Instalation
Global:
npm i -g @webcarrot/copy-declaration-ts
or local:
npm i --save-dev @webcarrot/copy-declaration-ts
Usage
Global installation usage:
copy-declaration-ts ./src ./dist/foo
Local installation usage:
In package.json
:
{
"scripts": {
"build": "tsc && copy-declaration-ts ./src ./dit/foo"
},
"devDependencies": {
"@webcarrot/copy-declaration-ts": "^1.0.0"
}
}
and then:
npm run build