From c0f81c200743ff27f9ec86bcf42f80a1ef415bbf Mon Sep 17 00:00:00 2001 From: Beka Westberg Date: Fri, 17 Jun 2022 16:41:57 +0000 Subject: [PATCH] fix: fix message loading by removing vestgial dependency (#6219) (cherry picked from commit 334956be9b0ee11f57e38fcac3d55c9237727ead) --- scripts/gulpfiles/package_tasks.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/scripts/gulpfiles/package_tasks.js b/scripts/gulpfiles/package_tasks.js index d37fcba0e69..5297ddf079e 100644 --- a/scripts/gulpfiles/package_tasks.js +++ b/scripts/gulpfiles/package_tasks.js @@ -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`)); };