1 Star 0 Fork 0

Jerry/koodo-reader

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
webpack.config.js 566 Bytes
一键复制 编辑 原始数据 按行查看 历史
troyeguo 提交于 2023-04-16 20:35 . 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", "*", ".mjs", ".js", ".json", ".tsx"],
},
node: {
__dirname: false,
},
module: {
rules: [
{
test: /\.mjs$/,
include: /node_modules/,
type: "javascript/auto",
},
],
},
plugins: [new HardSourceWebpackPlugin()],
};
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/JerryFox/koodo-reader.git
git@gitee.com:JerryFox/koodo-reader.git
JerryFox
koodo-reader
koodo-reader
master

搜索帮助