Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Config is forced as CJS and forbid usage of import.meta #1468

@ArnaudBarre

Description

@ArnaudBarre

What version of VS Code are you using?

For example: v1.104.2

What version of Tailwind CSS IntelliSense are you using?

For example: v0.14.26

What version of Tailwind CSS are you using?

For example: v3.4.17

What package manager are you using?

For example: bun

What operating system are you using?

For example: macOS

Tailwind CSS Stylesheet (v4) or config file (v3)

v3 config file

console.log(import.meta.filename);

export default {};

Describe your issue

It seems that jiti is always transforming to cjs despite my package.json being "type": "module".
Reproduced with a Vite starter

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