This repository was archived by the owner on Apr 6, 2021. It is now read-only.
This repository was archived by the owner on Apr 6, 2021. It is now read-only.
css-loader can't handle paths with spaces #22
Closed
Description
Hey!
If the project is in a folder that has a space in its name anywhere along the path, css-loader breaks, but without spaces it works (that should teach me for using spaces, I know 😅):
Error: ENOENT: no such file or directory, stat '/Users/home/Some%20Projects/a-project/src/styles/index.css'
# or
Error: ENOENT: no such file or directory, stat '/Users/home/Some%20Projects/a-project/tailwind.config.js'
Using tailwindcss
in postcss.config.js
also works properly, with and without spaces.
The same thing happens in any kind of project (reproduced it in Next.js, and in razzle.js).
Metadata
Metadata
Assignees
Labels
No labels