Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mozilla/ssl-config-generator.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorGene Wood <gene_wood@cementhorizon.com>2021-04-03 01:43:24 +0300
committerGene Wood <gene_wood@cementhorizon.com>2021-04-03 01:43:24 +0300
commitde3c5bb8643c562d0beefb019be1eb1dedec0e40 (patch)
tree27cf55c1ab37a0ae0dce7fd5962f3ee8c8a2198d /config
parentd1232aeaf92463c694f351a402fc626911be3716 (diff)
Update dependent package versions
Diffstat (limited to 'config')
-rwxr-xr-xconfig/webpack.config.js44
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',
})