Update server.mdx (#149)
Cleaner and more direct since it uses the system's chmod command directly rather than going through Node.js.
This commit is contained in:
parent
adc70f0095
commit
482ba4b161
1 changed files with 1 additions and 1 deletions
|
|
@ -386,7 +386,7 @@ Update your package.json to add type: "module" and a build script:
|
||||||
"weather": "./build/index.js"
|
"weather": "./build/index.js"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsc && node -e \"require('fs').chmodSync('build/index.js', '755')\"",
|
"build": "tsc && chmod 755 build/index.js",
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"build"
|
"build"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue