mirror of
https://github.com/coder/code-server.git
synced 2024-12-05 07:13:06 +08:00
4aa20fd864
- Fixes #542
16 lines
298 B
JavaScript
16 lines
298 B
JavaScript
const merge = require("webpack-merge");
|
|
|
|
module.exports = (options = {}) => merge(
|
|
require("./webpack.general.config")({
|
|
...options,
|
|
node: true,
|
|
}), {
|
|
devtool: "none",
|
|
mode: "production",
|
|
target: "node",
|
|
externals: {
|
|
spdlog: "commonjs spdlog",
|
|
"node-pty": "commonjs node-pty",
|
|
}
|
|
});
|