Skip to content

@lynx-js/tailwind-preset@0.5.0

Choose a tag to compare

@github-actions github-actions released this 17 Jun 08:47
· 5 commits to main since this release
80e2988

Minor Changes

  • Fix ESM/CJS interop for tailwindcss internal imports. (#2809)

    The built output previously used named ESM imports from tailwindcss CJS modules whose exports cannot be detected by Node.js's cjs-module-lexer (due to the dynamic _export() helper pattern). This caused runtime errors like:

    SyntaxError: The requested module 'tailwindcss/lib/lib/setupContextUtils.js' does not provide an export named 'INTERNAL_FEATURES'
    

    Uses createRequire(import.meta.url) to load tailwindcss CJS internals directly, bypassing ESM/CJS interop issues in both output formats.