Skip to content

Commit cd7ac9b

Browse files
authored
Merge pull request #508 from KManolov3/fix/uepr-261-translated-tutorial-images
fix: copy chunk files required for loading translated tutorial images
2 parents 6bf7b59 + 968e3c4 commit cd7ac9b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

webpack.renderer.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,12 @@ module.exports = makeConfig(
8585
from: path.join(getModulePath('@scratch/scratch-gui'), 'libraries'),
8686
to: 'static/libraries',
8787
flatten: true
88+
},
89+
{
90+
// We need to copy the chunks for translating tutorial images for
91+
// the tutorial translations to work.
92+
from: path.join(getModulePath('@scratch/scratch-gui'), 'chunks'),
93+
to: 'chunks'
8894
}
8995
// This still results in a missing fetch worker error, because the fetch-worker
9096
// is attempted to be resolved on an absolute path (e.g. file:///chunks/fetch-worker..)

0 commit comments

Comments
 (0)