We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 189b8bd commit f1f0606Copy full SHA for f1f0606
1 file changed
webpack.prod.js
@@ -3,6 +3,7 @@ const webpack = require('webpack')
3
const MiniCssExtractPlugin = require('mini-css-extract-plugin')
4
const postcssPresetEnv = require('postcss-preset-env')
5
const cssnano = require('cssnano')
6
+const CopyWebpackPlugin = require('copy-webpack-plugin')
7
8
const common = require('./webpack.common.js')
9
const config = require('./src/config')
@@ -73,5 +74,13 @@ module.exports = merge(common, {
73
74
new webpack.DefinePlugin({
75
'process.env.ENVIRONMENT': JSON.stringify('production'),
76
}),
77
+ new CopyWebpackPlugin({
78
+ patterns: [
79
+ {
80
+ from: 'spec/end_to_end_tests/resources/localfiles/radar.json',
81
+ to: 'radar.json',
82
+ },
83
+ ],
84
+ }),
85
],
86
})
0 commit comments