Merge pull request #8681 from scratchfoundation/hotfix/gui-paths
Some checks failed
CI/CD / build-and-test-and-maybe-deploy (push) Has been cancelled

fix: make sure scratch-gui images are where the JS is looking
This commit is contained in:
Christopher Willis-Ford 2024-09-05 10:03:27 -07:00 committed by GitHub
commit 46caa8daa3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -247,14 +247,18 @@ module.exports = {
to: 'static/chunks'
},
{
from: 'node_modules/scratch-gui/dist/extension-worker.js'
from: 'node_modules/scratch-gui/dist/extension-worker.js',
to: 'js'
},
{
from: 'node_modules/scratch-gui/dist/extension-worker.js.map'
from: 'node_modules/scratch-gui/dist/extension-worker.js.map',
to: 'js'
},
{
from: 'node_modules/scratch-gui/dist/static/assets',
to: 'static/assets'
// TODO: why do tutorials and extension icons expect these files in `js/`?
to: 'js/static/assets'
},
{
from: 'node_modules/scratch-gui/dist/*.hex',