Open MMaier96 opened 5 years ago
Parcel does not support ES modules, see: https://github.com/parcel-bundler/parcel/issues/1401
Would be interesting how @leNicDev made it work for him.
Probably by manually fix the output file and put var
or const
in first line.
Just updated the project. With that support for TypeScript 3.9 and the offical @altv/* types has been added.
Hey,
I imported your project and compiled it. Server is working fine but the client is not working. Ingame when loading the resource for my client im getting this error:
[18:44:56][Error] ReferenceError: parcelRequire is not defined at parcelRequire.LSRl (client/startup.js:1:1001) at client/startup.js:1:1023
Any ideas? :/
Kind regards Marcel