all repos — underbbs @ 89135d039904f090db3f6474968cfdf400c03c59

decentralized social media client

webpack.config.js (raw)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
const path = require('path');

module.exports = {
  mode: 'production',
  context: path.resolve(__dirname, 'frontend', '.js'),
  entry: {
    main: './index.js',
    serviceWorker: './serviceWorker.js',
  },
  output: {
    filename: '[name].js',
    path: path.resolve(__dirname, 'frontend', 'dist'),
  },
  optimization: {
    minimize: false,
  }
}