mirror of
https://github.com/google/blockly.git
synced 2026-01-07 00:50:27 +01:00
This reverts commit 44edbb89c3.
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user