From ba0abca4303ce02b1e4a30cff0e911b3b7876558 Mon Sep 17 00:00:00 2001 From: TheMas3212 Date: Tue, 26 Sep 2023 17:50:10 +1000 Subject: Fix Webpack config --- webpack.config.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'webpack.config.js') diff --git a/webpack.config.js b/webpack.config.js index df8797a..646834b 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -16,6 +16,10 @@ module.exports = { }, output: { filename: 'lib.js', + library: { + type: 'commonjs' + }, path: path.resolve(__dirname, 'dist'), + clean: true } }; \ No newline at end of file -- cgit v1.2.3