2019-02-24 11:28:29 +01:00
|
|
|
const path = require('path');
|
|
|
|
|
2019-03-04 19:08:48 +01:00
|
|
|
const baseconfig = require('./webpack.base.config');
|
2019-02-24 11:28:29 +01:00
|
|
|
|
2019-03-04 19:08:48 +01:00
|
|
|
const merge = require('webpack-merge');
|
|
|
|
const webpack = require('webpack');
|
2019-02-24 11:28:29 +01:00
|
|
|
|
2019-03-04 19:08:48 +01:00
|
|
|
const config = {
|
2019-03-03 04:15:24 +01:00
|
|
|
mode: 'development',
|
2019-02-24 11:28:29 +01:00
|
|
|
output: {
|
|
|
|
path: path.resolve(__dirname, 'dist'),
|
|
|
|
filename: 'editor.js'
|
2019-03-04 19:08:48 +01:00
|
|
|
}
|
2019-02-24 11:28:29 +01:00
|
|
|
};
|
2019-03-04 19:08:48 +01:00
|
|
|
|
|
|
|
module.exports = merge(baseconfig, config);
|