-
Notifications
You must be signed in to change notification settings - Fork 582
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Help] how to include additional files in dist? #255
Comments
【vite-plugin-static-copy - npm】https://www.npmjs.com/package/vite-plugin-static-copy |
Sorry it is a typescript file not a static file. |
You may need additional build typescript files. |
I'm also looking into doing something similar, but with a python (during dev) and exe for (during build, via pyinstaller). I have attempted to use the linked (https://www.npmjs.com/package/vite-plugin-static-copy) but couldn't get it to work on Windows. File detected but doesn't seems to be copied over from root/py to /dist/py |
How can we use |
Sharing my setup here, which unfortunately is not working. I am working on Windows. @jinusean , sorry for cluttering your issues/help wanted, wanted to avoid duplication of issues raised. Do let me know if I need to move this elsewhere. |
May be electron-builder Application Contents useful. |
I found out what I did wrong. For those who is here looking for something similar functionality:
Thanks @caoxiemeihao for the helps! |
@hafiidz thank you! |
Now, a new plugin is available 👉 vite-electron-plugin
|
I have a script that is forked in the main process, how can I include this in the dist build?
The text was updated successfully, but these errors were encountered: