1
0
mirror of https://git.tuxpa.in/a/code-server.git synced 2024-12-29 13:38:46 +00:00
code-server-2/scripts/webpack.node.config.js
2019-04-19 13:32:10 -05:00

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",
}
});