You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use CopyWebpackPlugin to copy some files out of my node_modules folder and into my build folder.
new CopyWebpackPlugin([
{ from: 'node_modules/accounting/**', to: 'vendor/npm/' },
{ from: 'node_modules/angular/**', to: 'vendor/npm/' },
I would expect this to output to my build folder /build/vendor/npm/accounting and build/vendor/npm/angular respectively, but instead a node_modules folder is created - the files are actually outputted to build/vendor/npm/node_modules/accounting.
How can I prevent the node_modules folder being created and get my expected output?
The text was updated successfully, but these errors were encountered:
I'm trying to use CopyWebpackPlugin to copy some files out of my node_modules folder and into my build folder.
I would expect this to output to my build folder
/build/vendor/npm/accounting
andbuild/vendor/npm/angular
respectively, but instead anode_modules
folder is created - the files are actually outputted tobuild/vendor/npm/node_modules/accounting
.How can I prevent the node_modules folder being created and get my expected output?
The text was updated successfully, but these errors were encountered: