babel-plugin-recharts
babel-plugin-recharts copied to clipboard
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. Commits 7efb22a 1.2.6 ef88b93 security notice for additional prototype pollution issue c2b9819 isConstructorOrProto adapted from PR bc8ecee test from prototype pollution PR See full...
After adding to .babelrc config, reduces the bundle but breaks imports and is unusable.  versions: "react": "^16.14.0", "@babel/cli": "^7.13.14", "@babel/core": "^7.13.14", "recharts": "^2.0.8"
Due to #20 I continue to upgrade but also found  and I have checked recharts folder in node_module it's no have 'polyfill.js' file as the screenshot  Try to...
We are using `ts-loader` instead of `babel-loader`. Is there a way to make it work with this plugin?
``` TypeError: paths.join is not a function at Function.Module._findPath (internal/modules/cjs/loader.js:309:56) at findPath (..../node_modules/babel-plugin-recharts/lib/index.js:73:34) at ..../node_modules/babel-plugin-recharts/lib/index.js:126:17 at Array.forEach () at Object. (..../node_modules/babel-plugin-recharts/lib/index.js:118:21) ``` - recharts引用的最新版本,使用了babel-plugin-recharts,后报错。 - 在我recharts版本回退到1.8版本,就无报错,是没有兼容最新版本吗? --
When using this with next.js I get the following error: ``` [ error ] ./pages/_app.tsx [1] TypeError: paths.join is not a function [1] at Array.forEach () [1] at Array.map ()...
Just an idea. I wonder if it'd be useful to support the option of compiling imports to `/es6/` instead of `/lib/` paths, if you are working in a recent version...
How to make it work with Create React App without ejecting. There is no babelrc or webpack.config to add the plugin.
# This plugin is useless when use typescript. Here is my config content ## .babelrc content: ```json { "plugins": [ "recharts" ], "presets": [ "env", "stage-0", "react" ] } ```...
On win 8.1 plugin generate incorrect paths: var _Line = require('recharts/lib/cartesian\\Line.js'); var _CartesianGrid = require('recharts/lib/cartesian\\CartesianGrid.js'); "babel-core": "^6.22.1", "babel-plugin-recharts": "^1.1.0", "babel-preset-stage-2": "^6.22.0",