Skip to content

Commit

Permalink
remove babel polyfill for now
Browse files Browse the repository at this point in the history
  • Loading branch information
night committed May 18, 2017
1 parent 457ef5c commit 1bf0da5
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ gulp.task(
.transform('babelify', {presets: ['es2015']})
.transform('envify')
.bundle()
.pipe(source('betterttv.unmin.js'))
.pipe(gulpif(IS_PROD, source('betterttv.unmin.js'), source('betterttv.js')))
.pipe(buffer())
.pipe(header(LICENSE + '\n'))
.pipe(gulp.dest('build'))
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "BetterTTV",
"author": "Night",
"version": "7.0.7",
"version": "7.0.8",
"description": "BetterTTV enhances Twitch with new features, bug fixes, and reduced clutter.",
"main": "betterttv.js",
"scripts": {
Expand Down
4 changes: 0 additions & 4 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
(() => {
if (!window._babelPolyfill) {
require('babel-polyfill');
}

if (window.location.pathname.endsWith('.html')) return;

const Raven = require('raven-js');
Expand Down

0 comments on commit 1bf0da5

Please sign in to comment.