fix: add .js to electronScripts paths so they actually load in

This commit is contained in:
dragonwocky 2024-04-22 23:06:07 +10:00
parent 71f9ecc32b
commit 222d544f88
Signed by: dragonwocky
GPG Key ID: 7998D08F7D7BD7A8
2 changed files with 2 additions and 2 deletions

View File

@ -78,5 +78,5 @@
],
"clientStyles": ["variables.css", "../vendor/@unocss-preflight-tailwind.css"],
"clientScripts": ["client.mjs"],
"electronScripts": [[".webpack/main/index", "electron.cjs"]]
"electronScripts": [[".webpack/main/index.js", "electron.cjs"]]
}

View File

@ -121,5 +121,5 @@
],
"clientStyles": ["client.css"],
"clientScripts": ["client.mjs"],
"electronScripts": [[".webpack/main/index", "electron.cjs"]]
"electronScripts": [[".webpack/main/index.js", "electron.cjs"]]
}