mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-23 14:32:59 -05:00
Merge pull request #259 from TheBrokenRail/patch-19
Copy Assets To Playground With Webpack
This commit is contained in:
commit
503de088fe
1 changed files with 4 additions and 0 deletions
|
@ -52,6 +52,7 @@ module.exports = [
|
||||||
entry: {
|
entry: {
|
||||||
'dist': './src/index.js'
|
'dist': './src/index.js'
|
||||||
},
|
},
|
||||||
|
|
||||||
output: {
|
output: {
|
||||||
library: 'VirtualMachine',
|
library: 'VirtualMachine',
|
||||||
libraryTarget: 'commonjs2',
|
libraryTarget: 'commonjs2',
|
||||||
|
@ -108,6 +109,9 @@ module.exports = [
|
||||||
to: 'media'
|
to: 'media'
|
||||||
}, {
|
}, {
|
||||||
from: 'node_modules/highlightjs/styles/zenburn.css'
|
from: 'node_modules/highlightjs/styles/zenburn.css'
|
||||||
|
}, {
|
||||||
|
from: 'assets',
|
||||||
|
to: 'assets'
|
||||||
}])
|
}])
|
||||||
])
|
])
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue