mirror of
https://github.com/koodo-reader/koodo-reader.git
synced 2026-06-12 09:54:38 -04:00
19 lines
400 B
JavaScript
19 lines
400 B
JavaScript
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()],
|
|
};
|