Skip to content

Commit

Permalink
fix: import solidjs/router and configure bytecode plugin for cjs
Browse files Browse the repository at this point in the history
  • Loading branch information
timeowilliams committed Sep 23, 2024
1 parent d46141e commit 4285eff
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 3 deletions.
5 changes: 4 additions & 1 deletion electron.vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,10 @@ export default defineConfig({
build: {
outDir: 'out/preload',
rollupOptions: {
external: ['electron']
external: ['electron'],
output: {
format: 'cjs'
}
}
}
},
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,12 @@
"@fontsource/inter": "^5.1.0",
"@kobalte/core": "^0.13.6",
"@modular-forms/solid": "^0.23.0",
"@solidjs/router": "^0.14.5",
"axios": "^1.7.7",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
"dayjs": "^1.11.13",
"dotenv": "^16.4.5",
"electron": "^32.1.2",
"electron-builder": "^25.0.5",
"electron-store": "^10.0.0",
"electron-updater": "^6.3.4",
"electron-vite": "^2.3.0",
Expand All @@ -53,6 +52,8 @@
"@playwright/test": "^1.47.2",
"@types/node": "^22.6.0",
"autoprefixer": "^10.4.20",
"electron": "^32.1.2",
"electron-builder": "^25.0.5",
"electron-playwright-helpers": "^1.7.1",
"eslint": "^9.11.0",
"eslint-plugin-solid": "^0.14.3",
Expand Down
12 changes: 12 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4285eff

Please sign in to comment.