diff options
author | Gene Wood <gene_wood@cementhorizon.com> | 2021-04-03 01:43:24 +0300 |
---|---|---|
committer | Gene Wood <gene_wood@cementhorizon.com> | 2021-04-03 01:43:24 +0300 |
commit | de3c5bb8643c562d0beefb019be1eb1dedec0e40 (patch) | |
tree | 27cf55c1ab37a0ae0dce7fd5962f3ee8c8a2198d /config | |
parent | d1232aeaf92463c694f351a402fc626911be3716 (diff) |
Update dependent package versions
Diffstat (limited to 'config')
-rwxr-xr-x | config/webpack.config.js | 44 |
1 files changed, 20 insertions, 24 deletions
diff --git a/config/webpack.config.js b/config/webpack.config.js index 49a32e9..37626dc 100755 --- a/config/webpack.config.js +++ b/config/webpack.config.js @@ -40,30 +40,26 @@ const plugins = [ title: 'Mozilla SSL Configuration Generator', template: 'src/templates/index.ejs' }), - new CopyWebpackPlugin([ - { - from: 'src/images', - to: 'images/', - flatten: false - } - ]), - new CopyWebpackPlugin([ - { - from: 'config/CNAME', - flatten: false - } - ]), - new CopyWebpackPlugin([ - { - from: 'src/static', - flatten: false - } - ]), - new CopyWebpackPlugin([ - { - from: 'src/js/analytics.js', - } - ]), + new CopyWebpackPlugin({ + patterns: [ + {from: 'src/images', to: 'images/'} + ] + }), + new CopyWebpackPlugin({ + patterns: [ + {from: 'config/CNAME'} + ] + }), + new CopyWebpackPlugin({ + patterns: [ + {from: 'src/static'} + ] + }), + new CopyWebpackPlugin({ + patterns: [ + {from: 'src/js/analytics.js'} + ] + }), new MiniCssExtractPlugin({ filename: '[hash].index.css', }) |