mirror of
https://github.com/scratchfoundation/scratch-desktop.git
synced 2025-01-09 14:12:05 -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: [
|
plugins: [
|
||||||
new CopyWebpackPlugin([{
|
new CopyWebpackPlugin([{
|
||||||
from: 'node_modules/scratch-blocks/media',
|
from: 'node_modules/scratch-gui/node_modules/scratch-blocks/media',
|
||||||
to: 'static/blocks-media'
|
to: 'static/blocks-media'
|
||||||
}]),
|
}]),
|
||||||
new CopyWebpackPlugin([{
|
new CopyWebpackPlugin([{
|
||||||
|
@ -27,7 +27,7 @@ module.exports = defaultConfig =>
|
||||||
context: 'node_modules/scratch-vm/dist/web'
|
context: 'node_modules/scratch-vm/dist/web'
|
||||||
}]),
|
}]),
|
||||||
new CopyWebpackPlugin([{
|
new CopyWebpackPlugin([{
|
||||||
from: 'src/lib/libraries/*.json',
|
from: 'node_modules/scratch-gui/src/lib/libraries/*.json',
|
||||||
to: 'static/libraries',
|
to: 'static/libraries',
|
||||||
flatten: true
|
flatten: true
|
||||||
}])
|
}])
|
||||||
|
|
Loading…
Reference in a new issue