Files
koodo-reader/webpack.config.js
troyeguo 2adb78d648 使用typescript重构
Former-commit-id: 10f9b6dee814275a1078267253f725c378e15310
2020-04-25 23:08:44 +08:00

17 lines
285 B
JavaScript
Vendored

const path = require("path");
module.exports = {
target: "electron-main",
entry: "./main.js",
output: {
path: path.resolve(__dirname, "./build"),
filename: "main.js",
},
resolve: {
extensions: [".ts", ".js", ".tsx"],
},
node: {
__dirname: false,
},
};