Skip to content

Commit 5cad16b

Browse files
authored
Merge pull request #208 from mgechev/minko/fix-prod-bundle
Fix the wrapping IIFE of the prod bundle
2 parents ae52749 + c4c1602 commit 5cad16b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Gruntfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ module.exports = function(grunt) {
5656
var record = config.uglify[target];
5757
record.options.sourceMapIn = source + '.map';
5858
record.options.banner = grunt.file.read('templates/boilerplate');
59-
record.options.wrap = true;
59+
record.options.enclose = true;
6060
record.options.compress.dead_code = true;
6161
record.options.mangle = { eval: true };
6262
return name;

0 commit comments

Comments
 (0)