fix(next-storybook): make rules an array in webpack config (#22125)
the `next-storybook` plugin throws an error since version `10.0.6-canary.9`, specifically since #17306: ``` ERR! WebpackOptionsValidationError: Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema. ERR! - configuration.module.rules should be an array ``` this PR makes `module.rules` an array again. also see https://github.com/vercel/next.js/pull/17306#issuecomment-774996237
Showing
Please
register
or
sign in
to comment