Skip to content

Commit

Permalink
fix: esm/cjs exports
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrickHeneise committed Mar 30, 2023
1 parent 1f7f8e8 commit cc6724a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@
"type": "module",
"main": "./pkg/parse.cjs",
"module": "./pkg/parse.js",
"exports": {
"import": "./pkg/parse.js",
"require": "./pkg/parse.cjs"
},
"scripts": {
"build": "run-p build:*",
"build:package": "microbundle src/parse.js",
Expand Down
2 changes: 0 additions & 2 deletions pkg/parse.modern.js

This file was deleted.

1 change: 0 additions & 1 deletion pkg/parse.modern.js.map

This file was deleted.

0 comments on commit cc6724a

Please sign in to comment.