mirror of
https://git.tuxpa.in/a/code-server.git
synced 2024-12-26 12:15:26 +00:00
17 lines
388 B
JavaScript
17 lines
388 B
JavaScript
|
const path = require("path");
|
||
|
const merge = require("webpack-merge");
|
||
|
|
||
|
module.exports = merge(require(path.join(__dirname, "../../scripts", "webpack.general.config.js"))(), {
|
||
|
devtool: "none",
|
||
|
mode: "production",
|
||
|
target: "node",
|
||
|
output: {
|
||
|
path: path.join(__dirname, "out"),
|
||
|
filename: "main.js",
|
||
|
libraryTarget: "commonjs",
|
||
|
},
|
||
|
entry: [
|
||
|
"./packages/logger/src/index.ts"
|
||
|
],
|
||
|
});
|