Merge pull request #259 from TheBrokenRail/patch-19

Copy Assets To Playground With Webpack
This commit is contained in:
Ray Schamp 2016-10-17 09:49:14 -04:00 committed by GitHub
commit 503de088fe

View file

@ -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'
}]) }])
]) ])
}) })