Skip to content

compilation error nextjs 10.0.3: options has an unknown property 'onlyLocals' #21

@JbPons

Description

@JbPons

I try to use the library with nextjs 10.0.3, and I have this error during next dev execution. I check the css-loader releases. I found this:

image

I have also a different issue during build time:
ModuleNotFoundError: Module not found: Error: Can't resolve 'css-loader/locals'
For this one, i didn't find any solution...

So, Is it possible to update the withStyle.js with the last version of css-loader and nextjs ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions