mirror of
https://github.com/google/blockly.git
synced 2026-01-05 08:00:09 +01:00
chore: Remove core/requires.js (#5718)
* chore: Remove requires that duplicate those in blockly.js * refactor: Remove core/requires.js, make blockly.js be entry point It sort of makes sense, doesn't it? The only remaining require not duplicated in `blockly.js` was that for `Blockly.themes.Classic`, but it is already required by `Blockly.themes` (itself required by `Blockly`).
This commit is contained in:
committed by
GitHub
parent
5a70f8a337
commit
10cfc11809
@@ -98,7 +98,7 @@ const NAMESPACE_OBJECT = '$';
|
||||
const chunks = [
|
||||
{
|
||||
name: 'blockly',
|
||||
entry: 'core/requires.js',
|
||||
entry: 'core/blockly.js',
|
||||
exports: 'Blockly',
|
||||
importAs: 'Blockly',
|
||||
factoryPreamble: `const ${NAMESPACE_OBJECT}={};`,
|
||||
@@ -385,10 +385,10 @@ function getChunkOptions() {
|
||||
//
|
||||
// {
|
||||
// chunk: [
|
||||
// 'requires:258',
|
||||
// 'all:10:requires',
|
||||
// 'all1:11:requires',
|
||||
// 'all2:11:requires',
|
||||
// 'blockly:258',
|
||||
// 'all:10:blockly',
|
||||
// 'all1:11:blockly',
|
||||
// 'all2:11:blockly',
|
||||
// /* ... remaining handful of chunks */
|
||||
// ],
|
||||
// js: [
|
||||
|
||||
Reference in New Issue
Block a user