Permalink
Browse files

Switch to babel-plugin-async-to-promises

This removes dependency on babel-runtime, which further cuts down the
bundle size from 37M to 22M :)

related: #14

#nowplaying Dusty Kid - Moto Perpetuo
  • Loading branch information...
Alexander Pushkov
Alexander Pushkov committed Feb 17, 2017
1 parent 1761c6f commit aa12e1ee3795ce9adfffaed72dcd07e4273b5042
Showing with 72 additions and 4 deletions.
  1. +4 −3 .babelrc
  2. +2 −1 package.json
  3. +66 −0 yarn.lock
View
@@ -1,9 +1,10 @@
{
"presets": ["es2017", "stage-0", "react"],
"presets": ["react"],
"plugins": [
"transform-object-rest-spread",
"async-to-promises",
["transform-react-jsx", { "pragma": "h" }],
"transform-decorators-legacy",
"transform-es2015-modules-commonjs",
"transform-runtime"
"transform-es2015-modules-commonjs"
]
}
View
@@ -15,8 +15,10 @@
"author": "The Songbee Team",
"license": "GPL-3.0",
"devDependencies": {
"babel-plugin-async-to-promises": "^1.0.5",
"babel-plugin-transform-decorators-legacy": "^1.3.4",
"babel-plugin-transform-es2015-modules-commonjs": "^6.18.0",
"babel-plugin-transform-object-rest-spread": "^6.23.0",
"babel-plugin-transform-runtime": "^6.15.0",
"babel-preset-es2017": "^6.16.0",
"babel-preset-react": "^6.16.0",
@@ -37,7 +39,6 @@
"run-sequence": "^1.2.2"
},
"dependencies": {
"babel-runtime": "^6.18.0",
"bencode": "^0.10.0",
"blob-to-buffer": "^1.2.6",
"cuid": "^1.3.8",
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

0 comments on commit aa12e1e

Please sign in to comment.