tailwindcss-container-query icon indicating copy to clipboard operation
tailwindcss-container-query copied to clipboard

Issues on Firefox with production builds

Open dreamboyx1 opened this issue 3 years ago • 0 comments

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.

dreamboyx1 avatar Nov 13 '22 05:11 dreamboyx1