Skip to content

Storybook plugin deprecated esbuild option warning from vite 8 #2312

@Arthie

Description

@Arthie

Please provide the environment you discovered this bug in.

versions:
storybook: 10.3.5
@analogjs/storybook-angular: ^2.4.9

Vite versions: (vp --version)

VITE+ - The Unified Toolchain for the Web

vp v0.1.19

Local vite-plus:
  vite-plus  v0.1.19

Tools:
  vite             v8.0.8
  rolldown         v1.0.0-rc.16
  vitest           v4.1.4
  oxfmt            v0.45.0
  oxlint           v1.60.0
  oxlint-tsgolint  v0.21.1
  tsdown           v0.21.9

Environment:
  Package manager  pnpm v10.33.0
  Node.js          v24.14.1 (.session-node-version)

Which area/package is the issue in?

storybook-angular

Description

Running storybook with latest version gives deprecated warning for use of esbuild option.

Please provide the exception or error you saw

▲  Vite warning: `esbuild` option was specified by
│  "analogjs-storybook-esbuild-config" plugin. This option is deprecated,
│  please use `oxc` instead.
│
▲  Vite Both esbuild and oxc options were set. oxc options will be used
│  and esbuild options will be ignored. The following esbuild options
│  were set: `{ keepNames: true }`

Other information

No response

I would be willing to submit a PR to fix this issue

  • Yes
  • No

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions