Skip to content

Commit 1bb9b47

Browse files
authored
ES5 -> ES6 (#106)
1 parent 648e307 commit 1bb9b47

3 files changed

Lines changed: 2 additions & 29 deletions

File tree

gulpfile.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,21 +26,12 @@ var SRC_FILE = 'stackdriver-errors.js';
2626
var TYPINGS_FILE = 'stackdriver-errors.d.ts';
2727
var DEST = 'dist/';
2828

29-
var polyfills = [
30-
'core-js/features/array/filter',
31-
'core-js/features/array/for-each',
32-
'core-js/features/array/map',
33-
'core-js/features/function/bind',
34-
'core-js/features/promise',
35-
];
36-
3729
gulp.task('lib-concat', function() {
3830
return browserify({
3931
debug: true,
4032
entries: SRC_FILE,
4133
standalone: 'StackdriverErrorReporter',
4234
})
43-
.require(polyfills)
4435
.plugin('browser-pack-flat/plugin')
4536
.bundle()
4637
.pipe(source(SRC_FILE))

package-lock.json

Lines changed: 2 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
"browser-pack-flat": "^3.4.2",
3535
"browserify": "^16.5.2",
3636
"chai": "^4.3.4",
37-
"core-js": "^3.11.3",
3837
"eslint": "^5.16.0",
3938
"eslint-plugin-mocha": "^5.3.0",
4039
"gulp": "^4.0.2",

0 commit comments

Comments
 (0)