mirror of
https://github.com/google/blockly.git
synced 2026-01-04 23:50:12 +01:00
committed by
GitHub
parent
91be84ab7c
commit
3ae4a61842
@@ -560,7 +560,7 @@ function getChunkOptions() {
|
||||
// Figure out which chunk this is by looking for one of the
|
||||
// known chunk entrypoints in chunkFiles. N.B.: O(n*m). :-(
|
||||
const chunk = chunks.find(
|
||||
chunk => chunkFiles.find(f => f.endsWith('/' + chunk.entry)));
|
||||
chunk => chunkFiles.find(f => f.endsWith(path.sep + chunk.entry)));
|
||||
if (!chunk) throw new Error('Unable to identify chunk');
|
||||
|
||||
// Replace nicknames with the names we chose.
|
||||
|
||||
Reference in New Issue
Block a user