svelte-ux
svelte-ux copied to clipboard
Support Tailwind ESM config
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