Skip to content

Ghost development dependency terser-webpack-plugin #1085

@ae9is

Description

@ae9is

System Info

n/a

Environment/Platform

  • Website/web-app
  • Browser extension
  • Server-side (e.g., Node.js, Deno, Bun)
  • Desktop app (e.g., Electron)
  • Other (e.g., VSCode extension)

Description

terser-webpack-plugin is imported but not declared as a development dependency in package.json.

https://github.com/huggingface/transformers.js/blob/14bf689c983c68c7e870b970e1bcce79c791c3c9/webpack.config.js#L1C1-L1C50

Reproduction

npm hides issues with ghost dependencies, use another package manager like pnpm to easily verify.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions