Skip to content

[Bug]: ➤ YN0002: │ @storybook/vue-vite@npm:7.0.18 [544ae] doesn't provide css-loader (p43ebe), requested by @storybook/vue #22941

Open
@nstuyvesant

Description

Describe the bug

The module @storybook/vue has webpack-related peerDependencies...

    "babel-loader": "^7.0.0 || ^8.0.0 || ^9.0.0",
    "css-loader": "*",

In our case, we are using @storybook/vue-vite but it has a dependency on @storybook/vue so we get the warning in yarn that we didn't provide the css-loader.

To Reproduce

Use yarn 3.5.1 with any @storybook/vue-vite configuration.

System

System:
    OS: macOS 13.4
    CPU: (10) arm64 Apple M1 Pro
  Binaries:
    Node: 18.16.0 - /opt/homebrew/bin/node
    Yarn: 3.5.1 - /opt/homebrew/bin/yarn
    npm: 9.6.7 - /opt/homebrew/bin/npm
  Browsers:
    Chrome: 114.0.5735.90
    Firefox: 113.0.2
    Safari: 16.5

Additional context

No response

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    • Status

      No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions