vite-aliases icon indicating copy to clipboard operation
vite-aliases copied to clipboard

Vite 3 support

Open Subwaytime opened this issue 3 years ago • 4 comments

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

Subwaytime avatar Jul 17 '22 08:07 Subwaytime

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)

Subwaytime avatar Aug 10 '22 13:08 Subwaytime

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

Subwaytime avatar Aug 17 '22 13:08 Subwaytime

Will this fix the Typescript issues?

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

tobychidi avatar Aug 24 '22 18:08 tobychidi

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.

Subwaytime avatar Aug 25 '22 09:08 Subwaytime

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 avatar Sep 18 '22 13:09 Subwaytime

@Subwaytime How to install the pre-release version ?

nichita-pasecinic avatar Oct 11 '22 08:10 nichita-pasecinic

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

Subwaytime avatar Oct 15 '22 14:10 Subwaytime

Thanks!

nichita-pasecinic avatar Oct 15 '22 18:10 nichita-pasecinic