Update usage of copy-webpack-plugin

This commit is contained in:
Tim Schaub
2020-05-18 10:08:28 -06:00
parent 315e0095a1
commit 7f8a1b64bd
2 changed files with 10 additions and 8 deletions

View File

@@ -64,13 +64,15 @@ module.exports = {
templates: path.join(__dirname, '..', 'templates'),
common: 'common',
}),
new CopyPlugin([
{from: '../src/ol/ol.css', to: 'css'},
{from: 'data', to: 'data'},
{from: 'resources', to: 'resources'},
{from: 'Jugl.js', to: 'Jugl.js'},
{from: 'index.html', to: 'index.html'},
]),
new CopyPlugin({
patterns: [
{from: '../src/ol/ol.css', to: 'css'},
{from: 'data', to: 'data'},
{from: 'resources', to: 'resources'},
{from: 'Jugl.js', to: 'Jugl.js'},
{from: 'index.html', to: 'index.html'},
],
}),
],
devtool: 'source-map',
output: {