fix(build): Switching from babel to buble plugin
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by arthurdenner · committed by arthurdenner · parent 4fdf9a0 · Browse files · 4 files·+48 added−25 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
4 files+48 added−25 removed
- other:+48 added−25 removed
Provenance
- Commit
c3e1148- Tree
4ca81be- Author
arthurdenner <arthurdenner7@gmail.com>- Committer
arthurdenner <arthurdenner7@gmail.com>- Parent
4fdf9a0
4 files changed+48 added−25 removed
modified:.babelrc+1 added-1 removed
1 {2- "presets": [["modern-browsers", {"modules": false}]]2+ "presets": ["modern-browsers"]3 }modified:package.json+2 added-1 removed
41 unmodified lines4243444546474849506 unmodified lines575859606061626364659 unmodified lines41 unmodified lines "@types/jest": "^22.0.0", "babel-cli": "^6.26.0", "babel-core": "^6.26.0", "babel-jest": "^22.0.4", "babel-plugin-external-helpers": "^6.22.0", "babel-preset-env": "^1.6.1", "babel-preset-es2015": "^6.24.1", "babel-preset-modern-browsers": "^10.0.1", "coveralls": "^3.0.0",6 unmodified lines "prettier": "^1.9.2", "regenerator-runtime": "^0.11.1", "rimraf": "^2.6.2", "rollup": "^0.54.0", "rollup-plugin-babel": "^3.0.3", "rollup-plugin-buble": "^0.18.0", "rollup-plugin-commonjs": "^8.2.6", "rollup-plugin-filesize": "^1.5.0", "rollup-plugin-node-resolve": "^3.0.2", "rollup-plugin-uglify": "^2.0.1",9 unmodified linesmodified:rollup.config.js+2 added-5 removed
122345623 unmodified lines3031323334353637343536373818 unmodified linesimport {minify} from "uglify-es"import babel from "rollup-plugin-babel"import buble from "rollup-plugin-buble"import commonjs from "rollup-plugin-commonjs"import filesize from "rollup-plugin-filesize"import resolve from "rollup-plugin-node-resolve"import uglify from "rollup-plugin-uglify"23 unmodified lines resolve({ jsnext: true }), commonjs(), babel({ presets: [["es2015", {modules: false}]], exclude: "node_modules/**" }), buble(), uglify({}, minify), filesize() ] }18 unmodified linesmodified:yarn.lock+43 added-18 removed
30 unmodified lines31 resolved "https://registry.yarnpkg.com/acorn-globals/-/acorn-globals-4.1.0.tgz#ab716025dbe17c54d3ef81d32ece2b2d99fe2538"32 dependencies:33 acorn "^5.0.0"34 35+acorn-jsx@^3.0.1:36+ version "3.0.1"37+ resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-3.0.1.tgz#afdf9488fb1ecefc8348f6fb22f464e32a58b36b"38+ dependencies:39+ acorn "^3.0.4"40+41+acorn5-object-spread@^4.0.0:42+ version "4.0.0"43+ resolved "https://registry.yarnpkg.com/acorn5-object-spread/-/acorn5-object-spread-4.0.0.tgz#d5758081eed97121ab0be47e31caaef2aa399697"44+ dependencies:45+ acorn "^5.1.2"46+47+acorn@^3.0.4:48+ version "3.3.0"49+ resolved "https://registry.yarnpkg.com/acorn/-/acorn-3.3.0.tgz#45e37fb39e8da3f25baee3ff5369e2bb5f22017a"50+51 acorn@^5.0.0, acorn@^5.1.2, acorn@^5.2.1:52 version "5.3.0"53 resolved "https://registry.yarnpkg.com/acorn/-/acorn-5.3.0.tgz#7446d39459c54fb49a80e6ee6478149b940ec822"54 336 unmodified lines391 resolved "https://registry.yarnpkg.com/babel-plugin-check-es2015-constants/-/babel-plugin-check-es2015-constants-6.22.0.tgz#35157b101426fd2ffd3da3f75c7d1e91835bbf8a"392 dependencies:393 babel-runtime "^6.22.0"394 395+babel-plugin-external-helpers@^6.22.0:396+ version "6.22.0"397+ resolved "https://registry.yarnpkg.com/babel-plugin-external-helpers/-/babel-plugin-external-helpers-6.22.0.tgz#2285f48b02bd5dede85175caf8c62e86adccefa1"398+ dependencies:399+ babel-runtime "^6.22.0"400+401 babel-plugin-istanbul@^4.1.5:402 version "4.1.5"403 resolved "https://registry.yarnpkg.com/babel-plugin-istanbul/-/babel-plugin-istanbul-4.1.5.tgz#6760cdd977f411d3e175bb064f2bc327d99b2b6e"404 dependencies:463 unmodified lines868 resolved "https://registry.yarnpkg.com/bser/-/bser-2.0.0.tgz#9ac78d3ed5d915804fd87acb158bc797147a1719"869 dependencies:870 node-int64 "^0.4.0"871 872+buble@^0.18.0:873+ version "0.18.0"874+ resolved "https://registry.yarnpkg.com/buble/-/buble-0.18.0.tgz#63b338b8248c474b46fd3e3546560ae08d8abe91"875+ dependencies:876+ acorn "^5.1.2"877+ acorn-jsx "^3.0.1"878+ acorn5-object-spread "^4.0.0"879+ chalk "^2.1.0"880+ magic-string "^0.22.4"881+ minimist "^1.2.0"882+ os-homedir "^1.0.1"883+ vlq "^0.2.2"884+885 builtin-modules@^1.0.0, builtin-modules@^1.1.0:886 version "1.1.1"887 resolved "https://registry.yarnpkg.com/builtin-modules/-/builtin-modules-1.1.1.tgz#270f076c5a72c02f5b65a47df94c5fe3a278892f"888 33 unmodified lines922 has-ansi "^2.0.0"923 strip-ansi "^3.0.0"924 supports-color "^2.0.0"925 891-chalk@^2.0.0, chalk@^2.0.1:926+chalk@^2.0.0, chalk@^2.0.1, chalk@^2.1.0:927 version "2.3.0"928 resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.3.0.tgz#b5ea48efc9c1793dccc9b4767c93914d3f2d52ba"929 dependencies:930 ansi-styles "^3.1.0"307 unmodified lines1238 estraverse@^4.2.0:1239 version "4.2.0"1240 resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-4.2.0.tgz#0dee3fed31fcd469618ce7342099fc1afa0bdb13"1241 1207-estree-walker@^0.2.1:1208- version "0.2.1"1209- resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-0.2.1.tgz#bdafe8095383d8414d5dc2ecf4c9173b6db9412e"1210-1242 estree-walker@^0.3.0:1243 version "0.3.1"1244 resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-0.3.1.tgz#e6b1a51cf7292524e7237c312e5fe6660c1ce1aa"1245 1263 unmodified lines2509 prelude-ls "~1.1.2"2510 type-check "~0.3.2"2511 wordwrap "~1.0.0"2512 2482-os-homedir@^1.0.0:2513+os-homedir@^1.0.0, os-homedir@^1.0.1:2514 version "1.0.2"2515 resolved "https://registry.yarnpkg.com/os-homedir/-/os-homedir-1.0.2.tgz#ffbc4988336e0e833de0c168c7ef152121aa7fb3"2516 2517 os-locale@^2.0.0:390 unmodified lines2908 resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.6.2.tgz#2ed8150d24a16ea8651e6d6ef0f47c4158ce7a36"2909 dependencies:2910 glob "^7.0.5"2911 2881-rollup-plugin-babel@^3.0.3:2882- version "3.0.3"2883- resolved "https://registry.yarnpkg.com/rollup-plugin-babel/-/rollup-plugin-babel-3.0.3.tgz#63adedc863130327512a4a9006efc2241c5b7c15"2912+rollup-plugin-buble@^0.18.0:2913+ version "0.18.0"2914+ resolved "https://registry.yarnpkg.com/rollup-plugin-buble/-/rollup-plugin-buble-0.18.0.tgz#6e20d1b2840c59eb496b9f954f75243e51786ac1"2915 dependencies:2916+ buble "^0.18.0"2885- rollup-pluginutils "^1.5.0"2917+ rollup-pluginutils "^2.0.1"2918 2919 rollup-plugin-commonjs@^8.2.6:2920 version "8.2.6"2921 resolved "https://registry.yarnpkg.com/rollup-plugin-commonjs/-/rollup-plugin-commonjs-8.2.6.tgz#27e5b9069ff94005bb01e01bb46a1e4873784677"27 unmodified lines2949 resolved "https://registry.yarnpkg.com/rollup-plugin-uglify/-/rollup-plugin-uglify-2.0.1.tgz#67b37ad1efdafbd83af4c36b40c189ee4866c969"2950 dependencies:2951 uglify-js "^3.0.9"2952 2921-rollup-pluginutils@^1.5.0:2922- version "1.5.2"2923- resolved "https://registry.yarnpkg.com/rollup-pluginutils/-/rollup-pluginutils-1.5.2.tgz#1e156e778f94b7255bfa1b3d0178be8f5c552408"2924- dependencies:2925- estree-walker "^0.2.1"2926- minimatch "^3.0.2"2927-2953 rollup-pluginutils@^2.0.1:2954 version "2.0.1"2955 resolved "https://registry.yarnpkg.com/rollup-pluginutils/-/rollup-pluginutils-2.0.1.tgz#7ec95b3573f6543a46a6461bd9a7c544525d0fc0"2956 dependencies:386 unmodified lines3343 assert-plus "^1.0.0"3344 core-util-is "1.0.2"3345 extsprintf "^1.2.0"3346 3322-vlq@^0.2.1:3347+vlq@^0.2.1, vlq@^0.2.2:3348 version "0.2.3"3349 resolved "https://registry.yarnpkg.com/vlq/-/vlq-0.2.3.tgz#8f3e4328cf63b1540c0d67e1b2778386f8975b26"3350 3351 walker@~1.0.5:143 unmodified lines