From 1d99efbcd8a52234f78288c1f8d7688ebcfd6d5e Mon Sep 17 00:00:00 2001 From: TheBrokenRail Date: Wed, 12 Oct 2016 20:58:03 -0400 Subject: [PATCH] Copy Assets To Playground With Webpack --- webpack.config.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/webpack.config.js b/webpack.config.js index 6d08c73ac..68d377b62 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -52,6 +52,7 @@ module.exports = [ entry: { 'dist': './src/index.js' }, + output: { library: 'VirtualMachine', libraryTarget: 'commonjs2', @@ -108,6 +109,8 @@ module.exports = [ to: 'media' }, { from: 'node_modules/highlightjs/styles/zenburn.css' + }, { + from: 'assets' }]) ]) })