Skip to content

Commit 4d3420d

Browse files
committed
vite: Externalize gatemaker.
Signed-off-by: Anders Kaseorg <[email protected]>
1 parent 38450a9 commit 4d3420d

File tree

3 files changed

+7
-13
lines changed

3 files changed

+7
-13
lines changed

package-lock.json

Lines changed: 4 additions & 9 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 & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,8 @@
140140
"Desktop app",
141141
"InstantMessaging"
142142
],
143-
"optionalDependencies": {
144-
"fs-xattr": "^0.3.1"
143+
"dependencies": {
144+
"gatemaker": "^1.0.0"
145145
},
146146
"devDependencies": {
147147
"@electron/remote": "^2.0.8",
@@ -165,7 +165,6 @@
165165
"electron-updater": "^5.0.1",
166166
"electron-window-state": "^5.0.3",
167167
"escape-goat": "^3.0.0",
168-
"gatemaker": "^1.0.0",
169168
"get-stream": "^6.0.1",
170169
"htmlhint": "^1.1.2",
171170
"i18n": "^0.15.1",

vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export default defineConfig({
3535
build: {
3636
sourcemap: true,
3737
rollupOptions: {
38-
external: ["electron", /^electron\//, "fs-xattr"],
38+
external: ["electron", /^electron\//, /^gatemaker\//],
3939
},
4040
ssr: true,
4141
},

0 commit comments

Comments
 (0)