Skip to content

Commit

Permalink
fix(eslint-plugin-result): only outputs cjs (eslint only uses cjs)
Browse files Browse the repository at this point in the history
  • Loading branch information
favna committed Apr 7, 2023
1 parent b55209d commit 298bd78
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions packages/eslint-plugin-result/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@
"author": "@sapphire",
"license": "MIT",
"main": "dist/index.js",
"module": "dist/index.mjs",
"module": "dist/index.js",
"exports": {
"import": "./dist/index.mjs",
"import": "./dist/index.js",
"require": "./dist/index.js"
},
"sideEffects": false,
"homepage": "https://github.com/sapphiredev/utilities/tree/main/packages/eslint-plugin-result",
"scripts": {
"test": "vitest run",
"lint": "eslint src tests --ext ts --fix -c ../../.eslintrc",
"build": "tsup && tsc -b src",
"build": "tsup",
"prepack": "yarn build",
"bump": "cliff-jumper",
"check-update": "cliff-jumper --dry-run"
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-plugin-result/tsup.config.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
import { createTsupConfig } from '../../scripts/tsup.config';

export default createTsupConfig({ globalName: 'SapphireEslintPluginResult', dts: false });
export default createTsupConfig({ format: ['cjs'], sourcemap: false, dts: false });

0 comments on commit 298bd78

Please sign in to comment.