@pixolith/webpack-assets-copy-plugin
v9.0.0
Published
## How to use
Downloads
283
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',
}),