aboutsummaryrefslogtreecommitdiffstats
path: root/webpack.config.js
diff options
context:
space:
mode:
authors-ol <s+removethis@s-ol.nu>2022-01-13 17:27:20 +0000
committers-ol <s+removethis@s-ol.nu>2022-01-13 17:27:20 +0000
commit0c98276d324db649c4a15be7859a501588257972 (patch)
tree8e2ee4784730e16290b043ee4b38418fa5166106 /webpack.config.js
parentMenu, DiscDAG loading (diff)
downloadfedidag-0c98276d324db649c4a15be7859a501588257972.tar.gz
fedidag-0c98276d324db649c4a15be7859a501588257972.zip
move everything into client/
Diffstat (limited to 'webpack.config.js')
-rw-r--r--webpack.config.js43
1 files changed, 0 insertions, 43 deletions
diff --git a/webpack.config.js b/webpack.config.js
deleted file mode 100644
index 62ce3a6..0000000
--- a/webpack.config.js
+++ /dev/null
@@ -1,43 +0,0 @@
-const path = require('path');
-const webpack = require('webpack');
-const HtmlWebpackPlugin = require('html-webpack-plugin');
-const CopyWebpackPlugin = require('copy-webpack-plugin');
-const package = require('./package.json');
-
-module.exports = {
- entry: './src/index.js',
- module: {
- rules: [
- {
- test: /\.jsx?$/,
- exclude: /node_modules/,
- use: {
- loader: 'babel-loader',
- options: package.babel,
- },
- },
- ],
- },
- mode: 'development',
- devtool: 'eval-source-map',
- devServer: {
- contentBase: './dist',
- },
- plugins: [
- new webpack.EnvironmentPlugin({
- NODE_ENV: 'production',
- DEBUG: false,
- PUBLIC_URL: null,
- API_PREFIX: null,
- CORS_PREFIX: null,
- }),
- new HtmlWebpackPlugin({
- title: 'FediDag'
- }),
- new CopyWebpackPlugin({ patterns: [ 'lib/*' ] }),
- ],
- output: {
- filename: '[name].bundle.js',
- path: path.resolve(__dirname, 'dist'),
- },
-}