Open ucefkh opened 1 year ago
Hi, lilconfig maintainer here.
I could not replicate the issue locally. Steps that I took:
src
and public
directories from a fresh create-react-app
boilerplateyarn
to install dependenciesyarn run build
to build the projectThe project builds as expected.
From the yarn.lock file I can see that lilconfig is a dependency of cssnano, postcss-load-config, and tailwind. Those are expected. These dependencies are not bundled with your source code so should not be be causing the issue you are reporting.
Can you provide a minimal reproduction steps to get the same build error? Maybe use codesandbox? This way people who want to help you could see if there is something causing the error in the source code. I think the easiest way would be to start with a fresh CRA template and see which change causes the error.
Thanks
Welcome to this lil bug,
if you typed 'TypeError: lilconfigSync is not a function' on google you came here because this is the only result.
π ππππDescribe the bugπππππ
So there is a bug when running the v5.0.1 and it is totally not clear why but something related to babel and CSS
package.json