We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9525029 commit c31235cCopy full SHA for c31235c
packages/template/webpack.config.js
@@ -12,10 +12,12 @@ module.exports = {
12
NODE_ENV: process.env.NODE_ENV ? process.env.NODE_ENV : 'dev', // use 'dev' unless process.env.NODE_ENV is defined
13
DEBUG: false,
14
}),
15
- new CopyPlugin([
16
- { from: appConfig.jsonFile, to: '../db.json' },
17
- { from: './config/appconfig.json', to: './config/appconfig.json' },
18
- ]),
+ new CopyPlugin({
+ patterns: [
+ { from: appConfig.jsonFile, to: '../db.json' },
+ { from: './config/appconfig.json', to: './config/appconfig.json' },
19
+ ],
20
+ }),
21
],
22
entry: { './src/handler': './src/handler.ts' },
23
resolve: {
0 commit comments