Add shebang to output file so a shell script is no longer needed
This commit is contained in:
parent
4b8c8be226
commit
cd891bf6a0
5 changed files with 48 additions and 7 deletions
|
@ -15,7 +15,7 @@
|
|||
"main": "src/main.ts",
|
||||
"type": "module",
|
||||
"bin": {
|
||||
"wtc": "bin/wtc"
|
||||
"wtc": "dist/wtc"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "rollup -c"
|
||||
|
@ -34,6 +34,7 @@
|
|||
"@typescript-eslint/eslint-plugin": "^6.10.0",
|
||||
"eslint-config-prettier": "^9.0.0",
|
||||
"rollup": "^4.5.1",
|
||||
"rollup-plugin-add-shebang": "^0.3.1",
|
||||
"tslib": "^2.6.2"
|
||||
},
|
||||
"dependencies": {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue