diff --git a/webpack.config.js b/webpack.config.js index 6d08c73ac..d46f55bf6 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,9 @@ module.exports = [ to: 'media' }, { from: 'node_modules/highlightjs/styles/zenburn.css' + }, { + from: 'assets', + to: 'assets' }]) ]) })