mirror of https://git.tuxpa.in/a/code-server.git
18 lines
432 B
JavaScript
18 lines
432 B
JavaScript
const path = require("path");
|
|
const webpack = require("webpack");
|
|
const merge = require("webpack-merge");
|
|
|
|
module.exports = merge(require("./webpack.common.config.js"), {
|
|
devtool: "cheap-module-eval-source-map",
|
|
output: {
|
|
path: path.join(__dirname, "out"),
|
|
},
|
|
entry: [
|
|
"webpack-hot-middleware/client?reload=true&quiet=true",
|
|
"./packages/web/src/index.ts"
|
|
],
|
|
plugins: [
|
|
new webpack.HotModuleReplacementPlugin(),
|
|
]
|
|
});
|