Skip to content

Option to compile to /es6/ instead of /lib/ paths #10

@andrew-humu

Description

@andrew-humu

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 of Webpack, or another environment that can load ES6 compatible code.

Maybe a plugin option?

// .babelrc
{
  "plugins": [
    ["babel-plugin-recharts", { "es6": true }]
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions