mirror of
https://github.com/scratchfoundation/scratch-desktop.git
synced 2024-12-22 21:52:31 -05:00
fix paths for CopyWebpackPlugin
These files are no longer listed as dependencies of scratch-desktop so we need to reach into scratch-gui to get them. We should find a better solution but this will work for now.
This commit is contained in:
parent
e0fb2d4c53
commit
cca18b6d67
1 changed files with 2 additions and 2 deletions
|
@ -19,7 +19,7 @@ module.exports = defaultConfig =>
|
|||
],
|
||||
plugins: [
|
||||
new CopyWebpackPlugin([{
|
||||
from: 'node_modules/scratch-blocks/media',
|
||||
from: 'node_modules/scratch-gui/node_modules/scratch-blocks/media',
|
||||
to: 'static/blocks-media'
|
||||
}]),
|
||||
new CopyWebpackPlugin([{
|
||||
|
@ -27,7 +27,7 @@ module.exports = defaultConfig =>
|
|||
context: 'node_modules/scratch-vm/dist/web'
|
||||
}]),
|
||||
new CopyWebpackPlugin([{
|
||||
from: 'src/lib/libraries/*.json',
|
||||
from: 'node_modules/scratch-gui/src/lib/libraries/*.json',
|
||||
to: 'static/libraries',
|
||||
flatten: true
|
||||
}])
|
||||
|
|
Loading…
Reference in a new issue