Skip to content

Commit 932e647

Browse files
committed
webpack i love you but you're bringing me down
1 parent 40fad82 commit 932e647

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

.babelrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"plugins": [
88
"transform-runtime",
99
"transform-async-to-generator",
10+
"transform-es2015-constants",
1011
[
1112
"module-alias",
1213
[

make-webpack-config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ module.exports = function(options) {
4040
loader: "babel?retainLines=true",
4141
include: [
4242
path.join(__dirname, "src"),
43-
path.join(__dirname, "node_modules", "object-assign-deep")
43+
/(object\-assign\-deep)/
4444
],
4545
},
4646
"json": "json-loader",

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@
7171
"babel-loader": "^6.3.2",
7272
"babel-plugin-module-alias": "^1.6.0",
7373
"babel-plugin-transform-async-to-generator": "^6.24.1",
74+
"babel-plugin-transform-es2015-constants": "^6.1.4",
7475
"babel-plugin-transform-runtime": "^6.23.0",
7576
"babel-preset-es2015": "^6.22.0",
7677
"babel-preset-es2015-ie": "^6.6.2",

0 commit comments

Comments
 (0)