Skip to content

Commit

Permalink
[meta] remove useless ESM
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Mar 19, 2024
1 parent 4bc40ee commit 766bf7a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 56 deletions.
15 changes: 0 additions & 15 deletions index.mjs

This file was deleted.

12 changes: 2 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,7 @@
"description": "An ESnext spec-compliant `Set.prototype.intersection` shim/polyfill/replacement that works as far down as ES3",
"main": "index.js",
"exports": {
".": [
{
"import": "./index.mjs",
"require": "./index.js",
"default": "./index.js"
},
"./index.js"
],
".": "./index.js",
"./auto": "./auto.js",
"./polyfill": "./polyfill.js",
"./implementation": "./implementation.js",
Expand All @@ -28,8 +21,7 @@
"prelint": "evalmd README.md",
"lint": "eslint --ext=js,mjs .",
"postlint": "es-shim-api --bound",
"tests-esm": "nyc node test/index.mjs",
"test": "npm run tests-only && npm run tests-esm",
"test": "npm run tests-only",
"posttest": "aud --production",
"version": "auto-changelog && git add CHANGELOG.md",
"postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
Expand Down
31 changes: 0 additions & 31 deletions test/index.mjs

This file was deleted.

0 comments on commit 766bf7a

Please sign in to comment.