Skip to content

Commit 5994916

Browse files
committed
Transpiling fixes, ES5 compatibility for the Proxy polyfill.
1 parent f8a959b commit 5994916

File tree

6 files changed

+3408
-1088
lines changed

6 files changed

+3408
-1088
lines changed

gulpfile.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ var gutil = require('gulp-util');
1212

1313
gulp.task('default', function(){
1414
return gulp.src(['observable-slim.js','proxy.js'])
15+
.pipe(babel({
16+
presets: ['@babel/preset-env']
17+
,sourceType: "script" // prevent insertion of "use strict"
18+
}))
1519
.pipe(useref())
1620
// Minifies only if it's a JavaScript file
1721
.pipe(uglify())

observable-slim.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)