Allow logger package to be publishable (#37)
This commit is contained in:
16
packages/logger/webpack.config.js
Normal file
16
packages/logger/webpack.config.js
Normal file
@ -0,0 +1,16 @@
|
||||
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"
|
||||
],
|
||||
});
|
Reference in New Issue
Block a user