BetterDiscordApp-v2/editor/webpack.production.config.js

17 lines
356 B
JavaScript
Raw Normal View History

2019-02-28 15:47:49 +01:00
const path = require('path');
2019-03-04 19:08:48 +01:00
const baseconfig = require('./webpack.base.config');
2019-02-28 15:47:49 +01:00
2019-03-04 19:08:48 +01:00
const merge = require('webpack-merge');
const webpack = require('webpack');
2019-02-28 15:47:49 +01:00
2019-03-04 19:08:48 +01:00
const config = {
2019-03-03 20:47:44 +01:00
mode: 'production',
2019-02-28 15:47:49 +01:00
output: {
path: path.resolve(__dirname, 'dist'),
filename: 'editor.release.js'
2019-03-04 19:08:48 +01:00
}
2019-02-28 15:47:49 +01:00
};
2019-03-04 19:08:48 +01:00
module.exports = merge(baseconfig, config);