Skip to content
This repository has been archived by the owner on Feb 9, 2024. It is now read-only.

Commit

Permalink
fix(legacy): fixes issue in legacy browsers (#351)
Browse files Browse the repository at this point in the history
This ensures `default` is quoted in Objects.
  • Loading branch information
Joshua Newman committed Nov 23, 2016
1 parent cdb2336 commit 318402c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gulpfile.babel.js
Expand Up @@ -56,7 +56,7 @@ function build(config) {
.pipe(stripDebug())
.pipe(rename({basename: basename, extname: '.js'}))
.pipe(gulp.dest(DIST))
.pipe(uglify())
.pipe(uglify({compress: {properties: false}, output: {'quote_keys': true}}))
.pipe(header(BANNER))
.pipe(rename({basename: basename, extname: '.min.js'}))
.pipe(gulp.dest(DIST))
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -28,7 +28,7 @@
"main": "dist/postscribe.js",
"browser": "dist/postscribe.js",
"dependencies": {
"prescribe": ">=1.1.1"
"prescribe": ">=1.1.2"
},
"devDependencies": {
"babel-core": "6.18.2",
Expand Down

0 comments on commit 318402c

Please sign in to comment.