Skip to content

Commit

Permalink
fix: fix message loading from script tags (google#6060)
Browse files Browse the repository at this point in the history
  • Loading branch information
maribethb authored Apr 4, 2022
1 parent e36b23c commit 44edbb8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions scripts/gulpfiles/package_tasks.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 44edbb8

Please sign in to comment.