mirror of
https://github.com/google/blockly.git
synced 2026-01-08 01:20:12 +01:00
fix: fix message loading from script tags (#6060)
This commit is contained in:
committed by
GitHub
parent
e36b23cc77
commit
44edbb89c3
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user