Subwaytime/vite-aliases

Vite 3 support - supported starting v0.9.5!

Subwaytime opened this issue · 8 comments

  • add vite 3 support
  • add vitest (latest) support
  • fix issues [33, 37, 38]

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 in package.json)

Part of this PR: #41
There will be upcoming other changes before a new release is triggered

Will this fix the Typescript issues?

Type 'Plugin' is not assignable to type 'PluginOption'.
  Type 'Plugin' is not assignable to type 'Plugin_2'.

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 - 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 drastically to fully support esm

@Subwaytime How to install the pre-release version ?

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