@pixolith/webpack-assets-copy-plugin
v8.0.0
Published
## How to use
Downloads
185
Readme
Webpack Assets Copy Plugin (Shopware 6 Administration)
How to use
Install
npm install @pixolith/webpack-assets-copy-plugin --save-dev
Add the plugin
const AssetsCopyPlugin = require('@pixolith/webpack-assets-copy-plugin');
Add this to the plugins
section of your webpack.config.js
new AssetsCopyPlugin({
includes: ['js', 'css'],
ignoreFiles: [/\*.hot-update.js/],
from: 'public/bundles',
to: 'custom/plugins/{plugin}/src/Resources/public',
}),