Enable react inline and constant babel optimizations

This commit is contained in:
Ken-Håvard Lieng 2016-02-07 00:03:11 +01:00
parent 23e75b8f40
commit ede8e19722
3 changed files with 27 additions and 19 deletions

File diff suppressed because one or more lines are too long

View File

@ -15,6 +15,12 @@
}]
}]
]
},
"production": {
"plugins": [
"transform-react-inline-elements",
"transform-react-constant-elements"
]
}
}
}

View File

@ -9,6 +9,8 @@
"babel-loader": "^6.2.2",
"babel-plugin-react-transform": "^2.0.0",
"babel-plugin-transform-decorators-legacy": "^1.3.4",
"babel-plugin-transform-react-constant-elements": "^6.4.0",
"babel-plugin-transform-react-inline-elements": "^6.4.0",
"babel-preset-es2015": "^6.3.13",
"babel-preset-react": "^6.3.13",
"babel-preset-stage-0": "^6.3.13",