NextJS wrong CSS order on production build
问题 I import CSS files from local files and node modules: //> Global Styling // Local import "../styles/globals.scss"; // Icons import "@fortawesome/fontawesome-free/css/all.min.css"; // Bootstrap import "bootstrap-css-only/css/bootstrap.min.css"; // Material Design for Bootstrap import "mdbreact/dist/css/mdb.css"; This works as intended on my local development version. All styles appear as they should be. As you can see here, the styling is different on local and production. (Take a look at font