Skip to content

Commit

Permalink
vite: Externalize gatemaker.
Browse files Browse the repository at this point in the history
Signed-off-by: Anders Kaseorg <[email protected]>
  • Loading branch information
andersk committed Feb 7, 2023
1 parent 38450a9 commit 4d3420d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 13 deletions.
13 changes: 4 additions & 9 deletions package-lock.json

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

5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,8 @@
"Desktop app",
"InstantMessaging"
],
"optionalDependencies": {
"fs-xattr": "^0.3.1"
"dependencies": {
"gatemaker": "^1.0.0"
},
"devDependencies": {
"@electron/remote": "^2.0.8",
Expand All @@ -165,7 +165,6 @@
"electron-updater": "^5.0.1",
"electron-window-state": "^5.0.3",
"escape-goat": "^3.0.0",
"gatemaker": "^1.0.0",
"get-stream": "^6.0.1",
"htmlhint": "^1.1.2",
"i18n": "^0.15.1",
Expand Down
2 changes: 1 addition & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export default defineConfig({
build: {
sourcemap: true,
rollupOptions: {
external: ["electron", /^electron\//, "fs-xattr"],
external: ["electron", /^electron\//, /^gatemaker\//],
},
ssr: true,
},
Expand Down

0 comments on commit 4d3420d

Please sign in to comment.