svelte-ux icon indicating copy to clipboard operation
svelte-ux copied to clipboard

Support Tailwind ESM config

Open techniq opened this issue 1 year ago • 0 comments

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 avatar May 26 '23 14:05 techniq