X-Git-Url: https://git.r.bdr.sh/rbdr/serpentity/blobdiff_plain/5db9cc1b0a37dc9cb92cab059198945bcfc0e0fe..d6fab6f06014fcd113c1387624bf0482ed8b8f31:/config/webpack.cjs?ds=inline 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 - } -};