mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-30 23:32:38 +00:00
Revert to basic presets for build
This commit is contained in:
parent
2bb8f1fd58
commit
00c9abb806
@ -86,6 +86,11 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"ava": "^0.18.1",
|
"ava": "^0.18.1",
|
||||||
"babel-eslint": "^7.1.1",
|
"babel-eslint": "^7.1.1",
|
||||||
|
"babel-plugin-array-includes": "^2.0.3",
|
||||||
|
"babel-plugin-transform-async-to-generator": "^6.22.0",
|
||||||
|
"babel-plugin-transform-runtime": "^6.22.0",
|
||||||
|
"babel-preset-es2015": "^6.22.0",
|
||||||
|
"babel-preset-stage-2": "^6.22.0",
|
||||||
"codecov": "^1.0.1",
|
"codecov": "^1.0.1",
|
||||||
"copy-webpack-plugin": "^4.0.1",
|
"copy-webpack-plugin": "^4.0.1",
|
||||||
"eslint": "^3.15.0",
|
"eslint": "^3.15.0",
|
||||||
|
@ -31,7 +31,15 @@ module.exports = {
|
|||||||
loader: 'babel-loader',
|
loader: 'babel-loader',
|
||||||
exclude: /node_modules/,
|
exclude: /node_modules/,
|
||||||
query: {
|
query: {
|
||||||
presets: ['vue-app'],
|
plugins: [
|
||||||
|
'transform-async-to-generator',
|
||||||
|
'array-includes',
|
||||||
|
'transform-runtime'
|
||||||
|
],
|
||||||
|
presets: [
|
||||||
|
['es2015', { modules: false }],
|
||||||
|
'stage-2'
|
||||||
|
],
|
||||||
cacheDirectory: true
|
cacheDirectory: true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user