Leon L.

Results 60 comments of Leon L.

quick note, its still beeing worked on! I am currently quite busy to tackle this, vite 3 technically works, but it just doesnt have full esm support! (using type module...

Part of this PR: https://github.com/Subwaytime/vite-aliases/pull/41 There will be upcoming other changes before a new release is triggered

Yes, there is already a pre-release, but i am doing some major rewrites, as the comment json package is causing the esm/cjs issue.

Checkout the [v10](https://github.com/Subwaytime/vite-aliases/tree/v10) - Development Branch! Pre-release v0.9.5 ensures Vite 3 support and should fix the Bugs above, please report any Bugs that are found! As some parts have changed...

There will be an official release for v10 (it ended beeing pre-release v0.9.7) tomorrow!

Ill have a look! Thanks for the report :)

@nichita-pasecinic these look like two different errors, so ill fix them seperately! Thanks for the report

I will add this also to the readme file, as installation instructions. The ESM move should have been more clear! Sorry about that

@nichita-pasecinic i deleted the comment, as thats not part of the conversation. Vite-aliases is meant for bigger projects where having distinct aliases per folder is important for managing and organizing...

@thisVioletHydra This has already been reported upwards, you need to add `"type":"module"` to your package.json, as the latest version moved entirely to ESM.