-
-
Notifications
You must be signed in to change notification settings - Fork 24
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
[Bug]: An ES Module error occurred with the --sort-tailwindcss-classes
option
#820
Labels
bug
Something isn't working
Comments
I'm now working for ESM support on blade-formatter. Thanks for sharing the news about Laravel's change! |
This was referenced Jun 30, 2023
Merged
This issue has been adjusted in the latest version of blade-formatter and is closed. |
@yaegassy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Error
In recent versions of Laravel's package.json, the "type": "module" is set. Additionally, the
tailwind.config.js
file generated by Laravel Breeze usesimport/export
instead ofrequire
, which seems to be causing this error.Repro
Generated tailwind.config.js:
Expected Behavior
...Omitted.
Actual Behavior
...Omitted.
Additional Context
...Omitted.
The text was updated successfully, but these errors were encountered: