Skip to content

Commit

Permalink
Merge pull request #37 from publicodes/fix-packaging
Browse files Browse the repository at this point in the history
build!: fix packaging to correctly support both esm and cjs
  • Loading branch information
EmileRolley authored Apr 22, 2024
2 parents fd3ace0 + bcbda96 commit ee4e38a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "@publicodes/tools",
"version": "1.0.7",
"description": "A set of utility functions to build tools around Publicodes models",
"type": "module",
"scripts": {
"build": "tsup",
"watch": "tsup --watch",
Expand Down Expand Up @@ -78,7 +79,9 @@
"allowJs": true,
"sourceMap": true,
"dts": true,
"clean": true
"clean": true,
"target": "es2020",
"skipNodeModulesBundle": true
},
"publishConfig": {
"access": "public"
Expand Down

0 comments on commit ee4e38a

Please sign in to comment.