Skip to content

Commit

Permalink
feature(cloudcmd) decrease bundle size: disable convertion to es5
Browse files Browse the repository at this point in the history
cloudcmd.common.js: 155K -> 141K
cloudcmd.js: 26K -> 20K
  • Loading branch information
coderaiser committed Aug 27, 2019
1 parent 089bdc6 commit 950028a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 12 deletions.
12 changes: 1 addition & 11 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -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 changes: 5 additions & 0 deletions .browserslistrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
last 2 Chrome versions
last 2 Safari versions
Firefox ESR
maintained node versions
not dead
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 950028a

Please sign in to comment.