由于某些原因,当我尝试部署到heroku时,它不能说找不到我的css文件。我正在使用create-react-app和node.js
remote: Creating an optimized production build...
remote: Failed to compile.
remote:
remote: ./src/App.js
remote: Cannot find file './app.css' in './src'.
...
remote: ! Push rejected, failed to compile Node.js app.
remote:
remote: ! Push failed
在我的app.js中
import './app.css'
main app
--src
----app.js
----app.css