Skip to content

Commit

Permalink
Fix #180
Browse files Browse the repository at this point in the history
Fix #180
  • Loading branch information
nathanleclaire committed Jul 19, 2022
1 parent 8eb4fc9 commit 574af28
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 19 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"main": "./release/dist/main/main.js",
"scripts": {
"start": "npm run dev",
"dev": "concurrently \"npm run start:main\" \"npm run start:renderer\"",
"build": "concurrently \"npm run build:main\" \"npm run build:renderer\"",
"dev": "concurrently --kill-others \"npm run start:main\" \"npm run start:renderer\"",
"build": "concurrently --kill-others \"npm run build:main\" \"npm run build:renderer\"",
"build:main": "tsc -p ./src/main/tsconfig.json",
"build:renderer": "vite build --config ./src/renderer/vite.config.ts",
"start:main": "npm run build:main && cross-env NODE_ENV=development electronmon -r ts-node/register/transpile-only ./src/main/main.ts",
Expand Down
18 changes: 1 addition & 17 deletions src/renderer/auto-imports.d.ts
Original file line number Diff line number Diff line change
@@ -1,21 +1,5 @@
// Generated by 'unplugin-auto-import'
export {}
declare global {
const IconMdiAnchor: typeof import('~icons/mdi/anchor.jsx')['default']
const IconMdiBookOpenOutline: typeof import('~icons/mdi/book-open-outline.jsx')['default']
const IconMdiBroadcastOff: typeof import('~icons/mdi/broadcast-off.jsx')['default']
const IconMdiCheck: typeof import('~icons/mdi/check.jsx')['default']
const IconMdiChevronDown: typeof import('~icons/mdi/chevron-down.jsx')['default']
const IconMdiCircle: typeof import('~icons/mdi/circle.jsx')['default']
const IconMdiClose: typeof import('~icons/mdi/close.jsx')['default']
const IconMdiCoins: typeof import('~icons/mdi/coins.jsx')['default']
const IconMdiContentCopy: typeof import('~icons/mdi/content-copy.jsx')['default']
const IconMdiKey: typeof import('~icons/mdi/key.jsx')['default']
const IconMdiPencil: typeof import('~icons/mdi/pencil.jsx')['default']
const IconMdiStar: typeof import('~icons/mdi/star.jsx')['default']
const IconMdiStarOutline: typeof import('~icons/mdi/star-outline.jsx')['default']
const IconMdiTable: typeof import('~icons/mdi/table.jsx')['default']
const IconMdiUnfoldMoreHorizontal: typeof import('~icons/mdi/unfold-more-horizontal.jsx')['default']
const IconMdiVectorTriangle: typeof import('~icons/mdi/vector-triangle.jsx')['default']
const IconMdiWarning: typeof import('~icons/mdi/warning.jsx')['default']

}
1 change: 1 addition & 0 deletions src/renderer/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ export default defineConfig({
},
host: true,
port: process.env.PORT ? +process.env.PORT : 1212,
strictPort: true,
},
build: {
sourcemap: true,
Expand Down

0 comments on commit 574af28

Please sign in to comment.