Replies: 1 comment
-
This should be fixed now! There is code to fix up the module name so it should work. Let me know if you have any trouble. Line 1 in 10073e0 |
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
-
If you are using any typescript tooling like vite, Bun, esbuild etc, very likely you would have hit the issue of module resolution not working for the littlejsengine types.
To get around this you can do the following;
littlejs.d.ts
file in thenode_modules\littlejsengine\build\
foldernode_modules\littlejsengine
folder and rename toindex.d.ts
declare module "littlejsengine"
so that the module name is the same as the npm package nameBeta Was this translation helpful? Give feedback.
All reactions