1
0
peddlers-of-ketran/webpack.dev.js
James Ketrenos ddc9eccfc7 Restructured directory arrangement
Signed-off-by: James Ketrenos <james.p.ketrenos@intel.com>
2020-04-20 12:27:58 -07:00

19 lines
471 B
JavaScript

const path = require("path");
const merge = require('webpack-merge')
const common = require('./webpack.common.js');
const webpack = require('webpack');
module.exports = merge(common, {
mode: "development",
devServer: {
contentBase: path.join(__dirname, "/"),
port: 8930,
publicPath: "http://localhost:8930/dist/",
hotOnly: true,
disableHostCheck: true,
historyApiFallback: true
},
plugins: [new webpack.HotModuleReplacementPlugin()]
});