1 Star 0 Fork 17

lycchang / koodo-reader

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
webpack.config.js 400 Bytes
一键复制 编辑 原始数据 按行查看 历史
unknown 提交于 2021-05-15 00:45 . fix bug
const path = require("path");
const HardSourceWebpackPlugin = require("hard-source-webpack-plugin");
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,
},
plugins: [new HardSourceWebpackPlugin()],
};
JavaScript
1
https://gitee.com/lycchang/koodo-reader.git
git@gitee.com:lycchang/koodo-reader.git
lycchang
koodo-reader
koodo-reader
master

搜索帮助