The problematic plugin is
, which has a high download rate of 1.6 million per week.@babel/plugin-transform-regenerator
This is the complete content of my .babelrc
file:
{
"presets": [],
"plugins": [
"@babel/plugin-transform-regenerator"
]
}
While attempting to transpile it with parcel using the command
parcel build source/main/index.html --no-source-maps --out-dir build
, I encounter the following error:
/path/to/index.js: Duplicate plugin/preset identified.
To use two distinct instances of a plugin, they must have unique names, for example:
plugins: [
['some-plugin', {}],
['some-plugin', {}, 'some unique name'],
]
... (additional error message continues)
The versions listed in my package.json are as follows:
"@babel/core": "^7.1.2",
"@babel/plugin-transform-regenerator": "^7.0.0",
Any suggestions?