Skip to content

Commit

Permalink
babel transform instead of polyfill
Browse files Browse the repository at this point in the history
  • Loading branch information
night committed May 25, 2017
1 parent 5ee00dc commit 6b7e981
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ gulp.task(
['prepare'],
() => browserify('build/index.js', {debug: true})
.transform('require-globify')
.transform('babelify', {presets: ['es2015']})
.transform('babelify', {presets: ['es2015'], plugins: ['transform-runtime']})
.transform('envify')
.bundle()
.pipe(gulpif(IS_PROD, source('betterttv.unmin.js'), source('betterttv.js')))
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "BetterTTV",
"author": "Night",
"version": "7.0.8",
"version": "7.0.9",
"description": "BetterTTV enhances Twitch with new features, bug fixes, and reduced clutter.",
"main": "betterttv.js",
"scripts": {
Expand All @@ -12,8 +12,9 @@
"url": "https://github.com/night/BetterTTV.git"
},
"dependencies": {
"babel-polyfill": "^6.23.0",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-es2015": "^6.24.1",
"babel-runtime": "^6.23.0",
"babelify": "^7.3.0",
"browserify": "^14.1.0",
"cookies-js": "^1.2.3",
Expand Down

0 comments on commit 6b7e981

Please sign in to comment.