Package Exports
- rollup-plugin-copy
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 (rollup-plugin-copy) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
rollup-plugin-copy
Very basic rollup plugin to copy static assets over to you public directory. Files are copied using fs-extra.copy
Installation
This package can be installed using npm:
npm install rollup-copy-plugin
Usage
Add the following lines to your rollup.config.js
:
import copy from 'rollup-plugin-copy';
...
export default {
...
plugins: [
...
copy({
"src/index.html": "dist/index.html",
"node_modules/bootstrap/dist": "dist/vendor/bootstrap",
"node_modules/font-awesome": "dist/vendor/font-awesome",
verbose: true
})
...
]
...
}
Options
verbose
:<boolean>
: display verbose message (default isfalse
)