Skip to content

Commit 332a6a5

Browse files
committed
do not let webpack parse es6-promise (close vuejs#28)
1 parent a3e53a2 commit 332a6a5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

webpack.config.js

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ module.exports = {
88
filename: 'build.js'
99
},
1010
module: {
11+
// avoid webpack trying to shim process
12+
noParse: /es6-promise\.js$/,
1113
loaders: [
1214
{
1315
test: /\.vue$/,

0 commit comments

Comments
 (0)