Skip to content

Imports using tsconfig paths do not work #414

@ttoino

Description

@ttoino

What version of prettier-plugin-tailwindcss are you using?

v0.7.1

What version of Tailwind CSS are you using?

v4.1.17

What version of Node.js are you using?

v22.20.0

What package manager are you using?

pnpm v10.19.0

What operating system are you using?

Linux

Reproduction URL

https://github.com/ttoino/svelte-prettier-tailwind-error-repro

Relevant files are .prettierrc, src/app.css, and src/lib/test.css.

Describe your issue

@importing a CSS file in your tailwind stylesheet in a SvelteKit project results in an error when formatting if said file is in the $lib folder. This used to work in previous versions of the plugin (pre v0.7).

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions