Skip to content

Commit

Permalink
fix: update legacy entry point
Browse files Browse the repository at this point in the history
  • Loading branch information
brettz9 committed Jan 2, 2024
1 parent d940187 commit b60cbb0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ pnpm link ../eslint-plugin-jsdoc
## Building the project

After running `pnpm install` to get the latest dependencies and devDependencies,
you can run the following command to update the `dist` files, with `dist/index.js`
you can run the following command to update the `dist` files, with `dist/index.cjs`
being the `main` entry point from `package.json`:

```shell
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
"*.js": "npm run lint-arg -- --fix"
},
"type": "module",
"main": "./dist/index.js",
"main": "./dist/index.cjs",
"types": "./dist/index.d.ts",
"exports": {
"types": "./dist/index.d.ts",
Expand Down

0 comments on commit b60cbb0

Please sign in to comment.