Skip to content

Commit

Permalink
feat: native ESM
Browse files Browse the repository at this point in the history
BREAKING CHANGE:

limits via `exports`
  • Loading branch information
brettz9 committed Apr 7, 2022
1 parent c0b4904 commit 1e43f9e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
File renamed without changes.
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@
"description": "utility box for ECMAScript language tools",
"homepage": "https://github.com/estools/esutils",
"bugs": "https://github.com/estools/esutils/issues",
"main": "dist/esutils.min.js",
"main": "./dist/esutils.min.js",
"exports": {
"import": "./dist/esutils.esm.min.js",
"require": "./dist/esutils.min.js"
},
"module": "dist/esutils.esm.min.js",
"version": "2.0.4-dev",
"engines": {
Expand Down

0 comments on commit 1e43f9e

Please sign in to comment.