vite-plugin-static-copy icon indicating copy to clipboard operation
vite-plugin-static-copy copied to clipboard

rollup-plugin-copy with dev server support.

Results 11 vite-plugin-static-copy issues
Sort by recently updated
recently updated
newest added

Hey, thanks for making this plugin, would it support transform (i.e. modify file contents) like `rollup-plugin-copy` and `CopyWebpackPlugin` ?

enhancement
PR welcome

Rename only support string and its use is limited, would you support it as function like [rollup-plugin-copy](https://github.com/vladshcherbin/rollup-plugin-copy#rename-with-a-function) ``` rename: (name, extension, fullPath) => `${name}-v1.${extension}` ``` Thanks

enhancement
PR welcome

## Description Support rename argument as a function (or a string). ## Links - #19

Currently this plugin does not watch file changes on `vite build --watch`, the `watch` related code are `serve`-only. It would be better to support watching file changes with watched build.

enhancement
PR welcome

The readme currently notes: > Before you use this plugin, consider using [public directory](https://vitejs.dev/guide/assets.html#the-public-directory) or [import in JavaScript](https://vitejs.dev/guide/features.html#static-assets). In most cases, these will work. However, I keep coming back to...

Modern Node.js APIs have first support for Web Standard URL objects, so it would be useful to have this interface in this plugin as well. ```ts import { defineConfig }...

enhancement

See issue 36. When the config parameter is set to true, the files will be copied to the dest folder when something changes. Also on the start of the watch...

enhancement
on hold

You can now already do ` watch: { reloadPageOnChange: true } ` But in the system I'm using I refer to the files in the dest folder with a serverpath...

Wait for VSCode ESLint extension to be stable released

Hey there, I'm copying a bunch of files in my `outDir` and keep getting sporadic errors. They are rather random, so I don't know how to reproduce them. Looks like...

needs more info