1
0
mirror of https://github.com/videojs/video.js.git synced 2025-09-16 09:26:56 +02:00

Merge pull request #450 from gkatsev/feature/iife-wrapper

Make the minified output be wrapped in an IIFE, fix #402.
This commit is contained in:
Steve Heffernan
2013-04-18 14:02:49 -07:00

View File

@@ -124,7 +124,7 @@ module.exports = function(grunt) {
// + ' --formatting=pretty_print'
+ ' --js_output_file=' + dest
+ ' --create_source_map ' + dest + '.map --source_map_format=V3'
+ ' --jscomp_warning=checkTypes --warning_level=VERBOSE';
+ ' --jscomp_warning=checkTypes --warning_level=VERBOSE'
+ ' --output_wrapper "(function() {%output%})();//@ sourceMappingURL=video.js.map"';
files.forEach(function(file){