You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying this extension out coming from abandoned headwind, and I cannot get it to work.
Headwind just works - I install it, configure it for Ruby in headwind.classRegex, and save an erb or .rb file and it correctly sorts tailwind on all of my files.
With this extension, it throws an error that the tailwind configuration file isn't found. I thought #11 would help, but that just suppresses the error, it doesn't resolve the issue.
To Reproduce
If I try to specify the tailwind configuration file, it breaks:
Add "tailwind-raw-reorder.tailwindConfigPath": "config/tailwind.config.js" to settings.json
It throws an error Cannot find module 'tailwindcss/defaultTheme' Require stack: - /rails-project-path/config/tailwind.config.js.
The tailwind config includes the default theme for some overrides:
Describe the bug
Hi 👋 thanks for attempting to continue headwind.
I'm trying this extension out coming from abandoned headwind, and I cannot get it to work.
Headwind just works - I install it, configure it for Ruby in
headwind.classRegex
, and save an erb or.rb
file and it correctly sorts tailwind on all of my files.With this extension, it throws an error that the tailwind configuration file isn't found. I thought #11 would help, but that just suppresses the error, it doesn't resolve the issue.
To Reproduce
If I try to specify the tailwind configuration file, it breaks:
Add
"tailwind-raw-reorder.tailwindConfigPath": "config/tailwind.config.js"
to settings.jsonIt throws an error
Cannot find module 'tailwindcss/defaultTheme' Require stack: - /rails-project-path/config/tailwind.config.js
.The tailwind config includes the default theme for some overrides:
If I specify an empty tailwind configuration file and remove the
tailwindConfigPath
, then it will work, but that's not ideal:Expected behavior
It should work :)
The text was updated successfully, but these errors were encountered: