Archived
1
0

Allow logger package to be publishable (#37)

This commit is contained in:
Kyle Carberry
2019-03-04 09:57:29 -08:00
committed by Asher
parent 68cb387fff
commit 90d3a0f16a
5 changed files with 44 additions and 4 deletions

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