1
0
mirror of https://github.com/videojs/video.js.git synced 2025-01-13 10:32:26 +02:00

Make the minified output be wrapped in an IIFE, fix #402.

This commit is contained in:
Gary Katsevman 2013-04-18 15:27:14 -04:00
parent a73f0ab6f0
commit c172ed715b

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){