diff --git a/webpack.config.js b/webpack.config.js index 656a86ac..860de1c6 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -28,6 +28,7 @@ const plugins = clean([ filename: 'cloudcmd.js', }), ]); + const loaders = clean([ !isDev && { test: /\.js$/, @@ -60,7 +61,7 @@ module.exports = { filename: '[name].js', path: isDev ? distDev : dist, pathinfo: isDev, - libraryTarget: 'umd', + libraryTarget: 'var', devtoolModuleFilenameTemplate, }, plugins,