Skip to content

Commit

Permalink
feat: native ESM support (#476)
Browse files Browse the repository at this point in the history
  • Loading branch information
dangreen authored Dec 21, 2021
1 parent 8a01075 commit aa0281a
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,15 @@
"name": "react-google-charts",
"version": "3.0.15",
"description": "react-google-charts React component",
"main": "dist/index.cjs",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"type": "module",
"sideEffects": false,
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
"require": "./dist/index.cjs",
"import": "./dist/index.mjs"
},
"scripts": {
"start:storybook": "start-storybook -p 6006 --ci",
"emitDeclarations": "tsc --skipLibCheck --emitDeclarationOnly",
Expand Down

0 comments on commit aa0281a

Please sign in to comment.