Back to Vite

Resolve: tsconfig paths

playground/resolve-tsconfig-paths/index.html

8.1.2344 B
Original Source

Resolve: tsconfig paths

Import from .ts

Import from .js

Fallback works

Import using # prefixed path

Nested tsconfig.json & references / include works

CSS / Sass @import resolves tsconfig paths (Less does not)

This text should be darkcyan

This text should be seagreen

This text should stay navy (Less is unsupported)