f4fdc36d31
once you're already in a MUC.
22 lines
578 B
JavaScript
22 lines
578 B
JavaScript
/* global module, __dirname */
|
|
const HTMLWebpackPlugin = require('html-webpack-plugin');
|
|
const common = require("./webpack.common.js");
|
|
const { merge } = require("webpack-merge");
|
|
const path = require("path");
|
|
|
|
module.exports = merge(common, {
|
|
mode: "development",
|
|
devtool: "inline-source-map",
|
|
devServer: {
|
|
static: [ path.resolve(__dirname, '../') ],
|
|
port: 3003
|
|
},
|
|
plugins: [
|
|
new HTMLWebpackPlugin({
|
|
title: 'Converse.js Dev',
|
|
template: 'webpack.html',
|
|
filename: 'index.html'
|
|
})
|
|
],
|
|
});
|