diff --git a/webpack.config.js b/webpack.config.js index adae3be..6d9ebf0 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -14,6 +14,8 @@ module.exports = { filename: '[name].js', path: path.resolve(__dirname, 'dist'), devtoolModuleFilenameTemplate: '[absolute-resource-path]', + library: 'library', + libraryTarget: 'umd', }, resolve: { extensions: ['.ts']