diff --git a/README.md b/README.md index 1809e15..b3f7992 100644 --- a/README.md +++ b/README.md @@ -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"