[X] This request is not a duplicate of an existing issue
[X] I have read the docs and followed them (if applicable)
[X] I have seached the Roots Discourse for answers and followed them (if applicable)
[X] This is not a personal support request that should be posted on the Roots Discourse community
Description
What's wrong?
I've followed the steps under Removing Tailwind CSS to remove Tailwind and use vanilla CSS.
However, upon completing the steps my build fails with Cannot read properties of undefined (reading 'config'). The documentation is likely out of date.
What have you tried?
It should be noted that I am using npm and not yarn. In the first step I used npm uninstall @roots/bud-tailwindcss instead of yarn remove @roots/bud-tailwindcss. Other than that, I've done what the guide says.
What insights have you gained?
None.
Possible solutions
None.
Temporary workarounds
None.
Steps To Reproduce
Create a fresh sage theme using compose.
Install and activate Acorn using as a Wordpress plugin.
Build theme, verify that CSS compilation works as expected.
Remove Tailwind as per the guide linked above.
Try to rebuild, get the error.
Expected Behavior
Should compile successfully without Tailwind after removing Tailwind as per the guide.
Actual Behavior
Build fails with Cannot read properties of undefined (reading 'config')
Terms
Description
What's wrong?
I've followed the steps under Removing Tailwind CSS to remove Tailwind and use vanilla CSS.
However, upon completing the steps my build fails with
Cannot read properties of undefined (reading 'config')
. The documentation is likely out of date.What have you tried?
It should be noted that I am using npm and not yarn. In the first step I used
npm uninstall @roots/bud-tailwindcss
instead ofyarn remove @roots/bud-tailwindcss
. Other than that, I've done what the guide says.What insights have you gained?
None.
Possible solutions
None.
Temporary workarounds
None.
Steps To Reproduce
Expected Behavior
Should compile successfully without Tailwind after removing Tailwind as per the guide.
Actual Behavior
Build fails with
Cannot read properties of undefined (reading 'config')
Relevant Log Output
Versions
v10.4.0