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