Skip to content

Commit f0ad664

Browse files
committed
Set webpack target to node
1 parent 028a143 commit f0ad664

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

webpack.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ const CopyWebpackPlugin = require('copy-webpack-plugin');
1616
let DEBUG_WEBPACK = !/^(false|0)?$/i.test(process.env.DEBUG_WEBPACK || '');
1717

1818
let config = dev.getDefaultWebpackConfig({
19+
target: 'node',
1920
projectRoot: __dirname,
2021
verbosity: DEBUG_WEBPACK ? 'debug' : 'normal',
2122
externals:

0 commit comments

Comments
 (0)