Skip to content
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

Does it work with js module v2? #23

Open
5 tasks
xxshady opened this issue Feb 20, 2024 · 3 comments
Open
5 tasks

Does it work with js module v2? #23

xxshady opened this issue Feb 20, 2024 · 3 comments

Comments

@xxshady
Copy link
Owner

xxshady commented Feb 20, 2024

altv-esbuild only works in v1 compatibility mode of js module v2

Known issues

  • base objects are not destroyed on resource restart (hot reload)
  • enhanced resource restart command doesn't work because it uses v1 js module
  • v1 enums in compat mode are not available yet

Possible fixes (fixed in js v2)

@xxshady xxshady pinned this issue Feb 20, 2024
@xxshady
Copy link
Owner Author

xxshady commented Feb 22, 2024

base objects are not destroyed because of altmp/altv-js-module-v2#196

@SashaGoncharov19
Copy link

bump

@xxshady
Copy link
Owner Author

xxshady commented Nov 10, 2024

I've started to fix baseobjects deletion on resource reload (the most critical issue, at least that is known) in this branch, currently there is one sub-issue with statics, for example alt.Vehicle.all is undefined on serverside, I hope it will be the last bug and then I will publish fix for baseobjects

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants