1
0
Fork 0
mirror of https://gitlab.com/bramw/baserow.git synced 2025-04-16 01:54:12 +00:00
bramw_baserow/web-frontend/webpack/webpack.dev.js
2019-02-15 14:52:44 +01:00

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);