diff --git a/lib/googmodule.js b/lib/googmodule.js index 88bb71a..01c9c59 100644 --- a/lib/googmodule.js +++ b/lib/googmodule.js @@ -1,7 +1,7 @@ var path = require('path'); // If the code has goog.module we need to wrap it. -var MODULE_REGEXP = /(^|;)\s*goog\.module\s*\(\s*['""]/m; +var MODULE_REGEXP = /(^|;|\*\/)\s*goog\.module\s*\(\s*['""]/m; // If the code already has goog.base no wrapper even if goog.module. var GOOGBASE_REGEXP = /^ \* @provideGoog *$/m;