Skip to content

Commit d584d37

Browse files
authored
Merge pull request #9 from xwcoder/refact/reorgnize
refactor: reorgnize directors and refactor settings
2 parents 987efe1 + 55f7908 commit d584d37

File tree

75 files changed

+211
-157
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+211
-157
lines changed

build/renderer/webpack.config.common.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ import HtmlWebpackPlugin from 'html-webpack-plugin'
44
import baseConfig from '../webpack.config.base'
55
import { src, dist } from '../paths'
66

7-
const context = path.resolve(src, './renderer')
7+
const context = path.resolve(src, './ui')
88

99
const config = merge(baseConfig, {
1010
context,
1111
target: ['web'],
1212
entry: ['./index.tsx'],
1313
output: {
14-
path: path.resolve(dist, './renderer'),
14+
path: path.resolve(dist, './ui'),
1515
publicPath: './',
1616
},
1717
plugins: [

package-lock.json

Lines changed: 16 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
"@electron-forge/publisher-github": "^6.4.2",
5757
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.11",
5858
"@types/lodash.get": "^4.4.7",
59+
"@types/lodash.set": "^4.3.9",
5960
"@types/node": "^20.5.9",
6061
"@types/react": "^18.2.21",
6162
"@types/react-dom": "^18.2.7",
@@ -92,6 +93,7 @@
9293
"@fluentui/react-icons": "^2.0.218",
9394
"electron-squirrel-startup": "^1.0.0",
9495
"lodash.get": "^4.4.2",
96+
"lodash.set": "^4.3.2",
9597
"mobx": "^6.10.2",
9698
"mobx-react-lite": "^4.0.4",
9799
"react": "^18.2.0",
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)