-
-
Notifications
You must be signed in to change notification settings - Fork 90
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
Custom preload script does not seem to be packaged #155
Comments
this feature did not got merged at this build. |
How do I specify it in the config? |
Im not quite sure what the "root" is inside the nx project. "files": [{
"from": "apps/standalone-launcher/src/app/api",
"to": "standalone-launcher",
"filter": "preload.game.js"
}] And it doesnt show up in the app.asar |
As of v13 the preload scripts naming had been changed to |
Works fine now. thx a lot! |
Describe the bug
I have to preload scripts
preload.ts
andpreload.game.ts
. I adjusted the webpack config so it would properly build the second one:But while everything works fine when I serve it out of the IDE, once I package it and try using that it wont find the
preload.game.js
but only the normalpreload.js
. I checked the app.asar file and also found it to be missing.To Reproduce
Steps to reproduce the behavior:
preload.js
and notpreload.game.js
Additional Information
webpack config in standalone-launcher folder:
Screenshots
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: