mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2025-02-17 00:21:20 -05:00
fix: make sure scratch-gui images are where the JS is looking
For some reason, the build output is looking for extension images and tutorial images in `js/static/...`. Until we figure out how to fix that, this change will put the files in that location.
This commit is contained in:
parent
e19c54e4ce
commit
2cb48725c4
1 changed files with 7 additions and 3 deletions
|
@ -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',
|
||||
|
|
Loading…
Reference in a new issue