Skip to content

Commit

Permalink
Fix createElement side-effect excluded from bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
IniZio committed Nov 8, 2022
1 parent 9f85cf7 commit ee3ed47
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@
"main": "./dist/index.cjs.js",
"module": "./dist/index.es.js",
"types": "./dist/types/index.d.ts",
"sideEffects": false,
"sideEffects": [
"./src/createElement.ts"
],
"exports": {
".": {
"import": "./dist/index.es.js",
Expand Down

0 comments on commit ee3ed47

Please sign in to comment.