From: Ruben Beltran del Rio Date: Mon, 10 Jul 2023 21:01:48 +0000 (+0200) Subject: Remove webpack config X-Git-Tag: 4.0.0~2 X-Git-Url: https://git.r.bdr.sh/rbdr/serpentity/commitdiff_plain/d6fab6f06014fcd113c1387624bf0482ed8b8f31 Remove webpack config --- diff --git a/config/webpack.cjs b/config/webpack.cjs deleted file mode 100644 index a36c166..0000000 --- a/config/webpack.cjs +++ /dev/null @@ -1,40 +0,0 @@ -const Path = require('path'); - -module.exports = { - entry: { - serpentity: './lib/serpentity.js', - 'serpentity.min': './lib/serpentity.js' - }, - - output: { - path: Path.resolve(__dirname, '../dist'), - filename: '[name].js', - library: 'Serpentity', - libraryTarget: 'umd' - }, - - module: { - rules: [ - { - test: /\.js$/, - exclude: /(node_modules|doc)/, - use: 'babel-loader' - } - ] - }, - - resolve: { - modules: [ - 'node_modules', - Path.resolve(__dirname, '../lib') - ], - - extensions: ['.js'] - }, - - context: Path.resolve(__dirname, '..'), - - optimization: { - minimize: true - } -};