You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
383 B
14 lines
383 B
|
6 years ago
|
const merge = require("webpack-merge");
|
||
|
|
const webpack = require("webpack");
|
||
|
|
|
||
|
|
const common = require("./webpack.web.common.js");
|
||
|
|
|
||
|
|
module.exports = merge.smart(common, {
|
||
|
|
devtool: "inline-source-map",
|
||
|
|
entry: ["webpack-hot-middleware/client?timeout=1000&reload=true", "./src/web/main.ts"],
|
||
|
|
mode: "development",
|
||
|
|
plugins: [
|
||
|
|
new webpack.HotModuleReplacementPlugin(),
|
||
|
|
],
|
||
|
|
});
|