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'),
|
2019-03-05 06:32:11 +01:00
|
|
|
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);
|