Skip to content

Commit

Permalink
Removed gulp toplevel mangle
Browse files Browse the repository at this point in the history
• Removed:
- gulp toplevel mangle
  • Loading branch information
mgabdev committed Mar 12, 2019
1 parent a4476d6 commit 6e431f0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,7 @@ gulp.task('scripts', () => {
.pipe(replace('__BROWSER__', browser.scriptVariableMap.BROWSER))
.pipe(replace('__CONTEXT_MENUS__', browser.scriptVariableMap.CONTEXT_MENUS))
.pipe(uglify({
mangle: {
toplevel: true,
},
mangle: {},
}))
.pipe(insert.prepend(`/* Automatically generated file. Do not edit directly.\nCopyright (C) 2019 Gab AI, Inc.\nAll Rights Reserved */\n`))
.pipe(gulp.dest(`${savePath}/${fileName}`))
Expand Down

0 comments on commit 6e431f0

Please sign in to comment.