2019-02-27 00:07:00 +07:00
|
|
|
const merge = require("webpack-merge");
|
|
|
|
|
|
|
|
module.exports = (options = {}) => merge(
|
|
|
|
require("./webpack.general.config")(options), {
|
|
|
|
devtool: "none",
|
|
|
|
mode: "production",
|
|
|
|
target: "node",
|
2019-04-16 07:48:12 +07:00
|
|
|
externals: {
|
|
|
|
spdlog: "commonjs spdlog",
|
|
|
|
"node-pty": "commonjs node-pty",
|
|
|
|
}
|
2019-02-27 00:07:00 +07:00
|
|
|
});
|