Skip to content

Commit c6d8d05

Browse files
committed
comments
1 parent e67702c commit c6d8d05

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

webpack.test.config.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
module.exports = {
44
output: {
5-
// YOU NEED TO SET libraryTarget: 'commonjs2'
6-
libraryTarget: 'commonjs2',
5+
// Important.
6+
libraryTarget: 'commonjs2'
77
},
88
module: {
99
loaders: [
@@ -12,9 +12,9 @@ module.exports = {
1212
loaders: [
1313
'style-loader',
1414
'css-loader?modules&importLoaders=1&localIdentName=[name]__[local]--[hash:base64:5]',
15-
'postcss-loader',
16-
],
17-
},
18-
],
19-
},
15+
'postcss-loader'
16+
]
17+
}
18+
]
19+
}
2020
};

0 commit comments

Comments
 (0)