mirror of
https://git.tuxpa.in/a/code-server.git
synced 2024-12-28 05:05:25 +00:00
14 lines
350 B
JavaScript
14 lines
350 B
JavaScript
|
const webpack = require("webpack");
|
||
|
const merge = require("webpack-merge");
|
||
|
|
||
|
module.exports = merge(require("./webpack.common.config.js"), {
|
||
|
devtool: "cheap-module-eval-source-map",
|
||
|
entry: [
|
||
|
"webpack-hot-middleware/client?reload=true&quiet=true",
|
||
|
"./packages/web/src/index.ts"
|
||
|
],
|
||
|
plugins: [
|
||
|
new webpack.HotModuleReplacementPlugin(),
|
||
|
]
|
||
|
});
|