Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues on Firefox with production builds #17

Open
dreamboyx1 opened this issue Nov 13, 2022 · 0 comments
Open

Issues on Firefox with production builds #17

dreamboyx1 opened this issue Nov 13, 2022 · 0 comments

Comments

@dreamboyx1
Copy link

I created an issue with container-query-polyfill as well here. It seems when building a production version of a tailwind app, this does not work.

I created a stripped down version here:

https://github.com/dreamboyx1/container-query-polyfill-example

I'm that package on.

  • Mac Firefox 106.0.5 (64-bit)
  • MacOS 12.6.1

The main branch just uses container-query-polyfill. The version that uses this package is under branch tailwindcss-container-query.

clone the package then
git checkout tailwindcss-container-query
npm install
npm run prod

This builds a production version of the Create React App app. You can connect to it a http://locations:3000. Just using npm start works as advertised. Seems to me there is likely an optimization or tree shaking issue.

Anywho. Thought you might like to know.

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

No branches or pull requests

1 participant