BetterDiscordApp-v2/client/webpack.config.js

23 lines
482 B
JavaScript
Raw Normal View History

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'
},
plugins: [
2019-03-04 09:09:58 +01:00
new webpack.NamedModulesPlugin()
2019-03-07 18:34:32 +01:00
],
externals: {
asar: 'require("asar")'
}
};
2019-03-04 09:09:58 +01:00
module.exports = merge(baseconfig, config);