You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I cannot avoid these errors unless I change my Tailwind config to be JavaScript with an explicit extension (tailwind.config.mjs) even though my project has "type": "module" declared.
Is it possible to properly respect the projects package.json's type or otherwise support the official TypeScript file extensions that match their JavaScript parallels?
Additional information
Would you be willing to help implement this feature?
Could this feature be implemented as a module?
The text was updated successfully, but these errors were encountered:
Regarding loading configuration, we use loadConfig from tailwindcss which uses jiti internally (but we may want to consider c12 for #808), and then for generating the configuration, we're still using CJS in the build directory (to be able to consistently require all syntaxes) - where would you be facing this issue?
Describe the feature
I cannot avoid these errors unless I change my Tailwind config to be JavaScript with an explicit extension (
tailwind.config.mjs
) even though my project has"type": "module"
declared.Is it possible to properly respect the projects
package.json
's type or otherwise support the official TypeScript file extensions that match their JavaScript parallels?Additional information
The text was updated successfully, but these errors were encountered: