Disable source-map-register

The included sourcemap-register.js file is triggering a high priority
CodeQL warning, which can prevent users from adopting the action.
Removing this sourcemap support for now, until this can be fixed upstream.
This commit is contained in:
Daz DeBoer 2022-09-22 10:22:04 -06:00
parent aeb3e0fcd7
commit 74a56b60ce
No known key found for this signature in database
GPG key ID: DD6B9F0B06683D5D
5 changed files with 3 additions and 5 deletions

View file

@ -8,7 +8,7 @@
"format": "prettier --write **/*.ts",
"format-check": "prettier --check **/*.ts",
"lint": "eslint src/**/*.ts",
"compile": "ncc build src/main.ts --out dist/main --source-map && ncc build src/post.ts --out dist/post --source-map",
"compile": "ncc build src/main.ts --out dist/main --source-map --no-source-map-register && ncc build src/post.ts --out dist/post --source-map --no-source-map-register",
"test": "jest",
"check": "npm run format && npm run lint",
"build": "npm run check && npm run compile",