Commit f2e39ee1 authored by Evan You's avatar Evan You

use es2015 preset with modules: false

parent c3206460
{ {
"presets": ["es2015-webpack", "stage-2"], "presets": [
"ignore": ["node_modules/*"] ["es2015", { "modules": false }],
"stage-2"
]
} }
...@@ -2,10 +2,6 @@ ...@@ -2,10 +2,6 @@
HackerNews clone built with Vue 2.0 + vue-router + vuex, with server-side rendering. HackerNews clone built with Vue 2.0 + vue-router + vuex, with server-side rendering.
## Known Issue
`babel-preset-es2015-webpack` currently has a bug which will prevent the build from working. You can manually apply [this change](https://github.com/gajus/babel-preset-es2015-webpack/pull/13/files) to fix it before it gets a new release out.
## Build Setup ## Build Setup
``` bash ``` bash
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
"devDependencies": { "devDependencies": {
"babel-core": "^6.0.0", "babel-core": "^6.0.0",
"babel-loader": "^6.0.0", "babel-loader": "^6.0.0",
"babel-preset-es2015-webpack": "^6.0.0", "babel-preset-es2015": "^6.13.2",
"babel-preset-stage-2": "^6.11.0", "babel-preset-stage-2": "^6.11.0",
"css-loader": "^0.23.1", "css-loader": "^0.23.1",
"extract-text-webpack-plugin": "^2.0.0-beta.3", "extract-text-webpack-plugin": "^2.0.0-beta.3",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment