diff options
| author | TheMas3212 <mas3212@gmail.com> | 2023-09-26 17:50:10 +1000 |
|---|---|---|
| committer | TheMas3212 <mas3212@gmail.com> | 2023-09-26 17:50:10 +1000 |
| commit | ba0abca4303ce02b1e4a30cff0e911b3b7876558 (patch) | |
| tree | 2147dd26fb0eaadba3dcc44f113985064cb0b765 /webpack.config.js | |
| parent | 2812cbcce624fcc2c2a0691ff7601c83aa7d6f64 (diff) | |
| download | tasd-js-ba0abca4303ce02b1e4a30cff0e911b3b7876558.tar.gz tasd-js-ba0abca4303ce02b1e4a30cff0e911b3b7876558.zip | |
Fix Webpack config
Diffstat (limited to 'webpack.config.js')
| -rw-r--r-- | webpack.config.js | 4 |
1 files changed, 4 insertions, 0 deletions
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 |
