]> git.r.bdr.sh - rbdr/serpentity/commitdiff
Remove webpack config
authorRuben Beltran del Rio <redacted>
Mon, 10 Jul 2023 21:01:48 +0000 (23:01 +0200)
committerRuben Beltran del Rio <redacted>
Mon, 10 Jul 2023 21:01:48 +0000 (23:01 +0200)
config/webpack.cjs [deleted file]

diff --git a/config/webpack.cjs b/config/webpack.cjs
deleted file mode 100644 (file)
index a36c166..0000000
+++ /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
-  }
-};