mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2025-02-17 08:31:23 -05:00
Merge pull request #7684 from cwillisf/fix-microbit-hex
Fix micro:bit hex file location
This commit is contained in:
commit
7fbaf96fa0
1 changed files with 10 additions and 25 deletions
|
@ -179,44 +179,29 @@ module.exports = {
|
|||
new CopyWebpackPlugin({
|
||||
patterns: [
|
||||
{from: 'static'},
|
||||
{from: 'intl', to: 'js'}
|
||||
]
|
||||
}),
|
||||
new CopyWebpackPlugin({
|
||||
patterns: [
|
||||
{from: 'intl', to: 'js'},
|
||||
{
|
||||
from: 'node_modules/scratch-gui/dist/static/blocks-media',
|
||||
to: 'static/blocks-media'
|
||||
}
|
||||
]
|
||||
}),
|
||||
new CopyWebpackPlugin({
|
||||
patterns: [
|
||||
},
|
||||
{
|
||||
from: 'node_modules/scratch-gui/dist/chunks',
|
||||
to: 'static/chunks'
|
||||
}
|
||||
]
|
||||
}),
|
||||
new CopyWebpackPlugin({
|
||||
patterns: [
|
||||
},
|
||||
{
|
||||
from: 'node_modules/scratch-gui/dist/extension-worker.js'
|
||||
}
|
||||
]
|
||||
}),
|
||||
new CopyWebpackPlugin({
|
||||
patterns: [
|
||||
},
|
||||
{
|
||||
from: 'node_modules/scratch-gui/dist/extension-worker.js.map'
|
||||
}
|
||||
]
|
||||
}),
|
||||
new CopyWebpackPlugin({
|
||||
patterns: [
|
||||
},
|
||||
{
|
||||
from: 'node_modules/scratch-gui/dist/static/assets',
|
||||
to: 'static/assets'
|
||||
},
|
||||
{
|
||||
from: 'node_modules/scratch-gui/dist/*.hex',
|
||||
to: 'static',
|
||||
flatten: true
|
||||
}
|
||||
]
|
||||
}),
|
||||
|
|
Loading…
Reference in a new issue