github lynx-family/lynx-stack @lynx-js/tailwind-preset@0.5.0

latest releases: @lynx-js/web-core@0.21.1, @lynx-js/kitten-lynx-test-infra@0.1.3, @lynx-js/web-worker-rpc@0.21.1...
15 hours ago

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.

Don't miss a new lynx-stack release

NewReleases is sending notifications on new releases.