We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 45cb9b9 commit 97b2034Copy full SHA for 97b2034
webpack.config.js
@@ -3,7 +3,8 @@ var nodeExternals = require('webpack-node-externals');
3
module.exports = {
4
entry: './src/index.js',
5
output: {
6
- filename: './dist/index.js'
+ filename: './dist/index.js',
7
+ libraryTarget: 'commonjs2'
8
},
9
target: 'node',
10
externals: [nodeExternals()],
0 commit comments