filemanager-webpack-plugin
filemanager-webpack-plugin copied to clipboard
copy ignore specific file
Config
{
source: 'from-path/**/*.js',
destination: 'to-path/',
globOptions: {
ignore: ['vconsole.min.js', 'eruda.min.js']
}
}
// or
{
source: 'from-path/**/*.js',
destination: 'to-path/',
options: {
ignore: ['vconsole.min.js', 'eruda.min.js']
}
}
// or
{
source: 'from-path/**/*.js',
destination: 'to-path/',
options: {
globOptions: {
ignore: ['vconsole.min.js', 'eruda.min.js']
}
}
}
Issue
I want to ignore some specific files, but these config above don't not work.
Your Environment
Tech | Version |
---|---|
filemanager-plugin-webpack | 8 |
node | 16.13 |
OS | win11 |