Vjacheslav Trushkin @cyberalien.dev · Mar 4

I've tested it on my local Next installation, cannot get this to work. Any idea what could be wrong? Demo is from github.com/iconify/unpl... from "examples/next". (install from root dir, then build it, then check demo)

0 likes 2 replies

?

Replies

Tim Neutkens · Mar 4

It's using webpack which has different limitations 🙂 By default Next.js uses Turbopack. webpack is opt-in only for backwards compat

Vjacheslav Trushkin · Mar 4

Forgot one step: change in next.config.js "css: 'embed'" to "css: 'import'" for components to generate .css files. Then error appears.