rollup-plugin-copy
rollup-plugin-copy copied to clipboard
Copy files and folders using Rollup
Why is it throwing ENOENT when a file in dist does not exist? Isn't the purpose of this plugin to copy files into dist? The action is not even predictable....
Given the following config: ```javascript copy({ targets: [{ src: ["dist", "package.json"], dest: "testing" }], hook: "writeBundle", verbose: true, }); ``` I'm getting the following error. The files are been copied...
Fix globby pattern path problem in windows computer。 https://github.com/sindresorhus/globby/issues/179 Scenes ` src: path.resolve(__dirname, 'xxx.js')`
Fix: https://github.com/vladshcherbin/rollup-plugin-copy/issues/43 minor change but fix annoying issue
It would be nice if I could create a symlink to a file or directory. If this makes sense you could implement that as well (since I'm not experienced enough...
```javascript export default [ { input: 'src/main.ts', output: { sourcemap: false, file: `dist/music-v${version}.min.js`, format: 'umd', plugins: [ terser(), ], }, plugins: [ ...makeBasicPlugins({}), license({ banner: { content: { file: 'LICENSE.md',...
```js copy({ targets: [{ src: 'src/*', exclude: ['*.md', 'demo'], dest: 'dist' }], }) ```
Instead of passing in just the basename of the source file, pass in the full src path. This is useful when needing to rewrite contents that contain relative references to...
https://github.com/vladshcherbin/rollup-plugin-copy/blob/master/src/index.js#L114-L118