mirror of
https://gitlab.com/bramw/baserow.git
synced 2025-04-16 01:54:12 +00:00
24 lines
446 B
JavaScript
Executable file
24 lines
446 B
JavaScript
Executable file
const merge = require('webpack-merge');
|
|
|
|
const webpackCommon = require('./webpack.common');
|
|
const config = require('./config');
|
|
|
|
const output = {
|
|
path: config.output,
|
|
filename: config.jsFilename,
|
|
};
|
|
|
|
const devServer = {
|
|
contentBase: config.output,
|
|
host: config.host,
|
|
port: config.port,
|
|
};
|
|
|
|
const webpackConfig = {
|
|
output,
|
|
devServer,
|
|
watch: true,
|
|
devtool: config.devtool
|
|
};
|
|
|
|
module.exports = merge(webpackCommon, webpackConfig);
|