Skip to content

Error: [BABEL] Duplicate plugin/preset detected. #746

@sinchang

Description

@sinchang

🐛 Bug Report

Got the error as title after adding descProp: true

To Reproduce

Steps to reproduce the behavior:

Expected behavior

No error happened

Link to repl or repo (highly encouraged)

Please provide a minimal repository on GitHub.

Issues without a reproduction link are likely to stall.

Run npx envinfo --system --binaries --npmPackages @svgr/core,@svgr/cli,@svgr/webpack,@svgr/rollup --markdown --clipboard

Paste the results here:

## System:
 - OS: macOS Mojave 10.14.6
 - CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
 - Memory: 32.79 MB / 16.00 GB
 - Shell: 5.3 - /bin/zsh
## Binaries:
 - Node: 16.15.0 - ~/.nvm/versions/node/v16.15.0/bin/node
 - Yarn: 1.22.5 - ~/.yarn/bin/yarn
 - npm: 8.5.5 - ~/.nvm/versions/node/v16.15.0/bin/npm
 - Watchman: 2021.06.07.00 - /usr/local/bin/watchman
 - "@svgr/babel-plugin-svg-dynamic-title": "6.3.0"
 - "@svgr/cli": "6.3.0",

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions