mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 02:35:49 +00:00
feature(package) babel v7
This commit is contained in:
parent
20185d0fad
commit
9da17585e8
3 changed files with 19 additions and 20 deletions
27
.babelrc
27
.babelrc
|
|
@ -1,16 +1,15 @@
|
|||
{
|
||||
"presets": [
|
||||
["env", {
|
||||
"exclude": [
|
||||
"transform-regenerator"
|
||||
]
|
||||
}]
|
||||
],
|
||||
"plugins": [
|
||||
"transform-object-assign",
|
||||
"transform-object-rest-spread",
|
||||
"fast-async",
|
||||
"babel-plugin-macros",
|
||||
]
|
||||
"presets": [
|
||||
["@babel/preset-env", {
|
||||
"exclude": [
|
||||
"transform-regenerator"
|
||||
]
|
||||
}],
|
||||
],
|
||||
"plugins": [
|
||||
"@babel/plugin-transform-object-assign",
|
||||
"@babel/plugin-proposal-object-rest-spread",
|
||||
"module:fast-async",
|
||||
"module:babel-plugin-macros",
|
||||
]
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ const clean = (array) => array.filter(notEmpty);
|
|||
const babelDev = {
|
||||
babelrc: false,
|
||||
plugins: [
|
||||
'babel-plugin-macros',
|
||||
'module:babel-plugin-macros',
|
||||
]
|
||||
};
|
||||
|
||||
|
|
|
|||
10
package.json
10
package.json
|
|
@ -156,13 +156,13 @@
|
|||
"writejson": "^1.1.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.0.0-beta.49",
|
||||
"@babel/plugin-proposal-object-rest-spread": "^7.0.0-beta.49",
|
||||
"@babel/plugin-transform-object-assign": "^7.0.0-beta.49",
|
||||
"@babel/preset-env": "^7.0.0-beta.49",
|
||||
"@cloudcmd/clipboard": "^1.0.0",
|
||||
"babel-cli": "^6.18.0",
|
||||
"babel-loader": "^7.0.0",
|
||||
"babel-loader": "^8.0.0-beta",
|
||||
"babel-plugin-macros": "^2.2.1",
|
||||
"babel-plugin-transform-object-assign": "^6.22.0",
|
||||
"babel-plugin-transform-object-rest-spread": "^6.26.0",
|
||||
"babel-preset-env": "^1.6.0",
|
||||
"clean-css-loader": "^1.0.1",
|
||||
"clear-module": "^2.1.0",
|
||||
"coveralls": "^3.0.0",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue