Skip to content

Add *.js export variants for compat files#14595

Merged
philipp-spiess merged 3 commits into
nextfrom
feat/add-dot-js-aliases
Oct 4, 2024
Merged

Add *.js export variants for compat files#14595
philipp-spiess merged 3 commits into
nextfrom
feat/add-dot-js-aliases

Conversation

@philipp-spiess

Copy link
Copy Markdown
Contributor

In v3 it was possible to import *.js variants of compat files, e.g. tailwindcss/plugin.js in addition to tailwindcss/plugin. We need to properly map the exports to support this.

@philipp-spiess philipp-spiess force-pushed the feat/add-dot-js-aliases branch from d27da06 to dfa07db Compare October 4, 2024 10:30
@thecrypticace

thecrypticace commented Oct 4, 2024

Copy link
Copy Markdown
Contributor

Are there projects / plugins / whatever actually using the .js paths?

@philipp-spiess

Copy link
Copy Markdown
Contributor Author

@thecrypticace

Copy link
Copy Markdown
Contributor

About 15–16% wow. alright 👍

@thecrypticace thecrypticace left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

small change

Comment thread packages/tailwindcss/package.json
@philipp-spiess philipp-spiess merged commit c01b825 into next Oct 4, 2024
@philipp-spiess philipp-spiess deleted the feat/add-dot-js-aliases branch October 4, 2024 13:38
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

Successfully merging this pull request may close these issues.

2 participants