Skip to content

Commit

Permalink
fix: build the bundle as a module to support node: protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed May 3, 2022
1 parent 6fd3430 commit a67a03c
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 7 deletions.
2 changes: 0 additions & 2 deletions dist/actions_python.d60978cf.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/actions_python.d60978cf.js.map

This file was deleted.

2 changes: 2 additions & 0 deletions dist/actions_python.da267d37.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/actions_python.da267d37.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/setup_cpp.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/setup_cpp.js.map

Large diffs are not rendered by default.

6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"repository": "https://github.com/aminya/setup-cpp",
"license": "Apache-2.0",
"author": "Amin Yahyaabadi",
"main": "./dist/setup_cpp.js",
"main": "dist/setup_cpp.js",
"module": "dist/setup_cpp.js",
"source": "./src/main.ts",
"bin": {
"setup-cpp": "./dist/setup_cpp.js",
Expand Down Expand Up @@ -113,7 +114,8 @@
}
},
"targets": {
"main": {
"main": false,
"module": {
"context": "node",
"includeNodeModules": true,
"optimize": true
Expand Down

0 comments on commit a67a03c

Please sign in to comment.