Replies: 1 comment
-
|
nvm, I just found this on docs it didn't emit assets and it uses the generated asset filepath // electron/main.ts
import icon from "@assets/img/icon.jpeg";
console.log(`icon from ${icon}`);
// icon from /static/image/icon.d058f456.jpeg |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
how can i exclude web assets on
electron-mainenvironment target from copying on output directory? but still get the generated asset file path on thewebenvironment target?because the
icon.pngget copied to the.electronoutput directory instead of using theicon.pngfilepath from thedist/weboutput directoryBeta Was this translation helpful? Give feedback.
All reactions