Skip to content

Broken with Next.js 12.1.4 #14

Closed
@medihack

Description

@medihack

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?

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions