add main.tsx
This commit is contained in:
1 parent
09719f7788
commit
ebbae1ae79
5 files changed
+931
-35
No files matched your search
@@ -1,7 +1,11 @@
|
||||
module.exports = {
|
||||
entry: "./src/index.tsx",
|
||||
mode: "development",
|
||||
entry: {
|
||||
"bundle": ["./src/index.tsx"],
|
||||
"main": ["./main.tsx"]
|
||||
},
|
||||
output: {
|
||||
filename: "bundle.js",
|
||||
filename: "[name].js",
|
||||
path: __dirname + "/dist"
|
||||
},
|
||||
|
||||
@@ -21,4 +25,6 @@ module.exports = {
|
||||
|
||||
plugins: [
|
||||
],
|
||||
|
||||
target: "electron-renderer"
|
||||
};
|
||||
Reference in new issue
Block a user