mirror of
https://git.tuxpa.in/a/code-server.git
synced 2024-12-28 13:15:25 +00:00
22 lines
419 B
JavaScript
22 lines
419 B
JavaScript
const path = require("path");
|
|
const merge = require("webpack-merge");
|
|
|
|
const root = path.resolve(__dirname, "../..");
|
|
|
|
module.exports = merge(
|
|
require(path.join(root, "scripts/webpack.node.config.js"))({
|
|
// Options.
|
|
}), {
|
|
externals: {
|
|
"node-named": "commonjs node-named",
|
|
},
|
|
output: {
|
|
path: path.join(__dirname, "out"),
|
|
filename: "main.js",
|
|
},
|
|
entry: [
|
|
"./packages/dns/src/dns.ts"
|
|
],
|
|
},
|
|
);
|