all repos — underbbs @ 44bdad2e509c30962c79155a16e6d499bbaf3791

decentralized social media client

webpack.config.js (raw)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
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'),
  }
}