Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
excid3 authored Oct 18, 2021
1 parent 2007ff7 commit 0c6dc3d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,14 @@ require("esbuild").build({
}).catch(() => process.exit(1))
```

Running on npm > `7.1` ? run command to add build script.
Use npm to add it as the build script (requires npm `>= 7.1`)

```sh
npm set-script build "node esbuild.config.js"
```

or add it manually in `package.json`

```javascript
"scripts": {
"build": "node esbuild.config.js"
Expand Down

0 comments on commit 0c6dc3d

Please sign in to comment.