We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6d066bb commit 108a9a1Copy full SHA for 108a9a1
2 files changed
chat2db-client/package.json
@@ -7,7 +7,7 @@
7
"url": "https://github.com/chat2db/Chat2DB"
8
},
9
"author": "fjy, hexi",
10
- "main": "src/main/dist/index.js",
+ "main": "src/main/main.js",
11
"scripts": {
12
"build": "npm run build:web && npm run build:main",
13
"build:desktop": "npm run build:web:desktop && npm run build:main:prod",
chat2db-client/src/main/webpack.config.js
@@ -3,8 +3,8 @@ const path = require('path');
3
module.exports = {
4
entry: './index.js',
5
output: {
6
- filename: 'index.js',
- path: path.resolve(__dirname, 'dist'),
+ filename: 'main.js',
+ path: path.resolve(__dirname),
target: 'electron-main'
};
0 commit comments