I use bedrock and sage for a few dozen websites. Suddenly 2 of them (newly created projects) won’t inject the css upon yarn start
. HTML is loaded and displayed, styles aren’t.
Building with yarn works as it should (yarn build
and yarn build production
).
I tried a number of things, most obviously checking all parameters in config.json
but they all are correct.
{
"entry": {
"main": [
"./scripts/main.js",
"./styles/main.scss"
],
"customizer": [
"./scripts/customizer.js"
]
},
"publicPath": "/app/themes/my-project",
"devUrl": "http://my-project.localhost",
"proxyUrl": "http://localhost:3000",
"cacheBusting": "[name]_[hash:8]",
"watch": [
"app/**/*.php",
"config/**/*.php",
"resources/views/**/*.php"
]
}