remix icon indicating copy to clipboard operation
remix copied to clipboard

Document the gotcha for esbuild css plugin

Open machour opened this issue 3 years ago • 2 comments
trafficstars

An error is thrown when using either filter for onLoad (seems like esbuild is attempting to load it as js even though "main" is pointed to index.css)

We need to document a little gotcha until we find a proper solution, see discussion here: https://github.com/remix-run/remix/pull/4130#issuecomment-1279149538

machour avatar Oct 20 '22 19:10 machour

@machour I think it would be good if we investigate further on this, because isolated tests show that this issue might be related to other plugins / things above esbuild. Opened an issue on esbuilds side and got the confirmation there as well. https://github.com/remix-run/remix/pull/4130#issuecomment-1280845923

KingSora avatar Oct 20 '22 20:10 KingSora

Definitely, but until then, the issue should be properly documented for our users.

Thank you again for your contribution, already using it! 🙏

machour avatar Oct 20 '22 21:10 machour

Nobody complained 🤷🏼

machour avatar Jan 22 '23 15:01 machour