diff --git a/webpack.config.js b/webpack.config.js index cc731b5e..809f3ee0 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -23,7 +23,8 @@ module.exports = { output: { path: path.resolve(__dirname, 'dist'), filename: '[name].js', - library: ['[name]'] + library: ['[name]'], + libraryTarget: 'umd' }, externals: { './PNotify': 'PNotify'