I'm having an issue in my Next.JS app with importing my stylesheet in _app.js
. Here is how I currently import it:
import '../public/css/Index.css';
The content of Index.css
looks like this:
.index-container {
margin: 20px auto 0;
}
What can I do to resolve the following error message:
./src/public/css/Index.css (./node_modules/css-loader/dist/cjs.js??ref--5-oneOf-5-1!./node_modules/next/dist/compiled/postcss-loader??__nextjs_postcss!./src/public/css/Index.css) Warning
Welcome, time traveler. We are now in a era of prefix-less CSS, eliminating the need for Autoprefixer in your stylesheet.