mirror of
https://github.com/google/blockly.git
synced 2026-01-18 14:27:12 +01:00
Make the implementation declareModlueId safe to import and execute in node.js, which does not provide a window global. (N.B. because this is an ESM and therefore automatically strict, using window?.goog?.declareModuleId doesn't work because window being undefined is an early error.)