Skip to content

Commit

Permalink
fix(react): use es6 style exports in index.js (#241)
Browse files Browse the repository at this point in the history
  • Loading branch information
cal-smith committed Apr 15, 2019
1 parent 29740bc commit 65964ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/react/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import babel from "rollup-plugin-babel";
module.exports = {
input: "./src/index.js",
output: {
name: "chartsReact",
file: "./dist/bundle/bundle.js",
format: "umd",
globals: {
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import DonutChart from "./donut-chart";
import LineChart from "./line-chart";
import BarChart from "./bar-chart";

module.exports = {
export {
PieChart,
DonutChart,
LineChart,
Expand Down

0 comments on commit 65964ae

Please sign in to comment.