Skip to content

Commit

Permalink
Revert "fix: fix message loading from script tags (#6060)"
Browse files Browse the repository at this point in the history
This reverts commit 44edbb8.
  • Loading branch information
BeksOmega authored Jun 1, 2022
1 parent 706c2bf commit daeb425
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/gulpfiles/package_tasks.js
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,8 @@ 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 daeb425

Please sign in to comment.