Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 332a6a5

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

File tree

Expand file treeCollapse file tree

1 file changed

+2
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-0
lines changed

‎webpack.config.js

Copy file name to clipboardExpand all lines: webpack.config.js
+2Lines changed: 2 additions & 0 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.