mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
feature(cloudcmd) decrease bundle size: disable convertion to es5
cloudcmd.common.js: 155K -> 141K cloudcmd.js: 26K -> 20K
This commit is contained in:
parent
089bdc64a0
commit
950028af92
3 changed files with 6 additions and 12 deletions
12
.babelrc
12
.babelrc
|
|
@ -1,18 +1,8 @@
|
|||
{
|
||||
"presets": [
|
||||
["@babel/preset-env", {
|
||||
"exclude": [
|
||||
"transform-regenerator"
|
||||
]
|
||||
}],
|
||||
"@babel/preset-env"
|
||||
],
|
||||
"plugins": [
|
||||
["module:fast-async", {
|
||||
"compiler": {
|
||||
"generators": false,
|
||||
"runtimePatter": ".js"
|
||||
}
|
||||
}],
|
||||
"module:babel-plugin-macros",
|
||||
]
|
||||
}
|
||||
|
|
|
|||
5
.browserslistrc
Normal file
5
.browserslistrc
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
last 2 Chrome versions
|
||||
last 2 Safari versions
|
||||
Firefox ESR
|
||||
maintained node versions
|
||||
not dead
|
||||
|
|
@ -183,7 +183,6 @@
|
|||
"eslint-plugin-node": "^9.0.1",
|
||||
"eslint-plugin-putout": "^2.0.0",
|
||||
"extract-text-webpack-plugin": "^4.0.0-alpha.0",
|
||||
"fast-async": "^7.0.6",
|
||||
"gritty": "^4.7.0",
|
||||
"gunzip-maybe": "^1.3.1",
|
||||
"html-looks-like": "^1.0.2",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue