mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-01-09 14:32:07 -05:00
Copy Assets To Playground With Webpack
This commit is contained in:
parent
49d6bd3b67
commit
1d99efbcd8
1 changed files with 3 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,8 @@ module.exports = [
|
||||||
to: 'media'
|
to: 'media'
|
||||||
}, {
|
}, {
|
||||||
from: 'node_modules/highlightjs/styles/zenburn.css'
|
from: 'node_modules/highlightjs/styles/zenburn.css'
|
||||||
|
}, {
|
||||||
|
from: 'assets'
|
||||||
}])
|
}])
|
||||||
])
|
])
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue