Skip to content

Commit

Permalink
chore: fix file path (#8391)
Browse files Browse the repository at this point in the history
* chore: fix file path

* chore: emit only mjs
  • Loading branch information
imranbarbhuiya authored Jul 29, 2022
1 parent a3183cf commit d070de6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
2 changes: 1 addition & 1 deletion packages/actions/build.config.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
import { createUnbuildConfig } from '../../build.config';

export default createUnbuildConfig({ minify: true });
export default createUnbuildConfig({ minify: true, emitCJS: false });
8 changes: 1 addition & 7 deletions packages/actions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,8 @@
"format": "prettier --write . && eslint src __tests__ --ext mjs,js,ts --fix",
"fmt": "yarn format"
},
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"main": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
"import": "./dist/index.mjs",
"require": "./dist/index.cjs",
"types": "./dist/index.d.ts"
},
"directories": {
"lib": "src",
"test": "__tests__"
Expand Down
2 changes: 1 addition & 1 deletion packages/actions/src/formatTag/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ outputs:
description: 'The semver string that was extracted from this tag'
runs:
using: node16
main: ../../dist/formatTag/index.js
main: ../../dist/formatTag/index.mjs

1 comment on commit d070de6

@vercel
Copy link

@vercel vercel bot commented on d070de6 Jul 29, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please # to comment.