hmm, could the pattern instead be to export a class that has extended `ChartPlugin`?
```js
// BarPlugin.js
class BarPlugin extends ChartPlugin {
...
}
export default BarPlugin;
// preset.js
import BarPlugin from './BarPlugin';
...
const plugins = [
new BarPlugin({ config: 123 }),
];
...
```
[ Full content available at:
https://github.com/apache/incubator-superset/pull/6028 ]
This message was relayed via gitbox.apache.org for [email protected]
