Skip to content

Commit

Permalink
fix: Set type in package as module, fix test.
Browse files Browse the repository at this point in the history
  • Loading branch information
vantreeseba committed Dec 8, 2022
1 parent fc7cff8 commit 61613ae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"description": "",
"author": "vantreeseba <vantreeseba@gmail.com>",
"repository": "github:dropecho/storygen",
"main": "./dist/js/cjs/index.cjs",
"publishConfig": {
"access": "public"
},
Expand All @@ -26,6 +25,8 @@
"semantic-release": "^19.0.5",
"semantic-release-haxelib": "^1.1.0"
},
"type": "module",
"main": "./dist/js/cjs/index.cjs",
"exports": {
".": {
"require": "./dist/js/cjs/index.cjs",
Expand Down
2 changes: 1 addition & 1 deletion test.hxml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
-D dce=no

-lib hxnodejs
-js build/js_test.js
-js build/js_test.cjs
# --next

# ## HashLink
Expand Down

0 comments on commit 61613ae

Please sign in to comment.