Skip to content

Commit

Permalink
fix: fix message loading by removing vestgial dependency (google#6219)
Browse files Browse the repository at this point in the history
(cherry picked from commit 334956b)
  • Loading branch information
BeksOmega authored and maribethb committed Jul 27, 2022
1 parent 6132229 commit c0f81c2
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions scripts/gulpfiles/package_tasks.js
Original file line number Diff line number Diff line change
Expand Up @@ -321,10 +321,7 @@ 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(packageUMD(
'Blockly.Msg',
[{name: 'Blockly'}],
'umd-msg.template'))
.pipe(packageUMD('Blockly.Msg', [], 'umd-msg.template'))
.pipe(gulp.dest(`${RELEASE_DIR}/msg`));
};

Expand Down

0 comments on commit c0f81c2

Please sign in to comment.