The app runs perfectly, the only problem are the css files.
I've been doing the imports of the css files like this:
import "/my/css/route/file"
and most of the css worked fine, but there are some peaces of code that does not take it good.
I've changed to:
require("my/css/route/file")
and neither works.
Here's a piece of code of both import with the exact route I use:
import "../../css/a_myCSS/myStyle.css";
require("../../css/a_myCSS/myStyle.css");
I've been looking for errors like this on heroku and I think the problem it's at the pipeline process but I'm not sure...
Some examples of how it looks:
localhost
heroku
The left side is for the localhost and the right side is for the heroku
cssCompare
question from:
https://stackoverflow.com/questions/65860842/i-got-my-css-webapp-reactjs-nodejs-working-perfectly-at-localhost-but-when-i 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…