Skip to content

ValidationError: Invalid options object. CSS Loader has been initialised using an options object that does not match the API schema #8909

@wellyshen

Description

@wellyshen

Bug report

Describe the bug

When upgrade to v9.0.7. css-loader throw an API schema error. It won't happens in v9.0.6. Seems minimize has been removed from the options of css-loader (see here)

To Reproduce

  1. yarn upgrade next.js@^9.0.7
  2. yarn dev

Expected behavior

app compiled success

Screenshots

螢幕快照 2019-09-30 下午1 40 57

System information

  • OS: macOS
  • Browser: chrome
  • Version of Next.js: 9.0.7

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions