Copy Assets To Playground With Webpack

This commit is contained in:
TheBrokenRail 2016-10-12 20:58:03 -04:00 committed by GitHub
parent 49d6bd3b67
commit 1d99efbcd8

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,8 @@ module.exports = [
to: 'media' to: 'media'
}, { }, {
from: 'node_modules/highlightjs/styles/zenburn.css' from: 'node_modules/highlightjs/styles/zenburn.css'
}, {
from: 'assets'
}]) }])
]) ])
}) })