diff --git a/scripts/gulpfiles/package_tasks.js b/scripts/gulpfiles/package_tasks.js index 83bf5700bc4..5a215681a8d 100644 --- a/scripts/gulpfiles/package_tasks.js +++ b/scripts/gulpfiles/package_tasks.js @@ -321,8 +321,6 @@ function packageLocales() { // Remove references to goog.provide and goog.require. return gulp.src(`${BUILD_DIR}/msg/js/*.js`) .pipe(gulp.replace(/goog\.[^\n]+/g, '')) - .pipe(gulp.insert.prepend(` - var Blockly = {};Blockly.Msg={};`)) .pipe(packageUMD('Blockly.Msg', [{ name: 'Blockly', amd: '../core',