Closed
Description
I tried to use next-global-css
with a freshly created Next.js 12.1.4 app (no other additional dependencies), but after starting the dev server it stucks in "compiling...".
The simple next.config.js I tried:
/** @type {import('next').NextConfig} */
const { patchWebpackConfig } = require("next-global-css");
const nextConfig = {
reactStrictMode: true,
webpack: (config, options) => {
patchWebpackConfig(config, options);
return config;
},
};
module.exports = nextConfig;
Any idea what could be wrong?