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 3b66016 commit 30b3843
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 68 deletions.
9 changes: 0 additions & 9 deletions .github/workflows/node-esm.yml

This file was deleted.

18 changes: 0 additions & 18 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 @@ -24,14 +24,7 @@
"homepage": "https://github.com/es-shims/Array.prototype.findLast#readme",
"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 @@ -45,8 +38,7 @@
"pretest": "npm run --silent lint && evalmd README.md",
"posttest": "aud --production",
"tests-only": "nyc tape 'test/**/*.js'",
"tests-esm": "nyc node test/index.mjs",
"test": "npm run tests-only && npm run tests-esm",
"test": "npm run tests-only",
"lint": "eslint --ext=js,mjs .",
"postlint": "es-shim-api --bound",
"version": "auto-changelog && git add CHANGELOG.md",
Expand Down
31 changes: 0 additions & 31 deletions test/index.mjs

This file was deleted.

0 comments on commit 30b3843

Please sign in to comment.