Subwaytime / vite-aliases

Alias auto generation for Vite
https://www.npmjs.com/package/vite-aliases
MIT License
210 stars 12 forks source link

Vite 3 support - supported starting v0.9.5! #40

Closed Subwaytime closed 1 year ago

Subwaytime commented 2 years ago
Subwaytime commented 2 years ago

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 commented 2 years ago

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

tobychidi commented 2 years ago

Will this fix the Typescript issues?

Type 'Plugin' is not assignable to type 'PluginOption'.
  Type 'Plugin' is not assignable to type 'Plugin_2'.
Subwaytime commented 2 years ago

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 commented 2 years ago

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

nichita-pasecinic commented 1 year ago

@Subwaytime How to install the pre-release version ?

Subwaytime commented 1 year ago

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

nichita-pasecinic commented 1 year ago

Thanks!