Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Tailwind ESM config #58

Open
techniq opened this issue May 26, 2023 · 0 comments
Open

Support Tailwind ESM config #58

techniq opened this issue May 26, 2023 · 0 comments
Milestone

Comments

@techniq
Copy link
Owner

techniq commented May 26, 2023

Tailwind 3.3 now supports ESM and Typescript configs. Determine what is needed to support this configuration.

Initial thoughts are

  • Change tailwind.cjs plugin to tailwind.js in ESM format
  • Add plugin to top-level exports and update importing in tailwind.config.js (currently: plugins: [require('svelte-ux/plugins/tailwind.cjs')])
  • Verify useful, and attempt to still support CommonJS configs if possible
@techniq techniq added this to the v1 milestone May 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant