2018-03-21 16:57:10 +01:00
|
|
|
const path = require('path');
|
2018-01-10 21:48:10 +01:00
|
|
|
|
2019-03-04 09:09:58 +01:00
|
|
|
const baseconfig = require('./webpack.base.config');
|
2018-01-19 03:10:10 +01:00
|
|
|
|
2019-03-04 09:09:58 +01:00
|
|
|
const merge = require('webpack-merge');
|
|
|
|
const webpack = require('webpack');
|
2018-01-19 06:17:07 +01:00
|
|
|
|
2019-03-04 09:09:58 +01:00
|
|
|
const config = {
|
2019-03-03 04:15:24 +01:00
|
|
|
mode: 'development',
|
2018-01-10 21:48:10 +01:00
|
|
|
output: {
|
|
|
|
path: path.resolve(__dirname, 'dist'),
|
|
|
|
filename: 'betterdiscord.client.js'
|
|
|
|
},
|
2018-07-07 20:52:13 +02:00
|
|
|
plugins: [
|
2019-03-04 09:09:58 +01:00
|
|
|
new webpack.NamedModulesPlugin()
|
2019-03-07 18:34:32 +01:00
|
|
|
],
|
|
|
|
externals: {
|
|
|
|
asar: 'require("asar")'
|
|
|
|
}
|
2018-02-21 02:16:41 +01:00
|
|
|
};
|
2019-03-04 09:09:58 +01:00
|
|
|
|
|
|
|
module.exports = merge(baseconfig, config);
|