diff --git a/webpack.config.js b/webpack.config.js index 00ef1f39..12993f1b 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -42,6 +42,7 @@ module.exports = (env) => { output: { path: outputPath, filename: 'glance.js', + libraryTarget: 'umd', }, module: { rules: [{ test: entry, loader: 'expose-loader?Glance' }].concat(