noJSConfigInAssets not working?

I have noJSConfigInAssets set to true at the top most level of Hugo config file but the jsconfig.json keeps being recreated on hugo server. I am using a modified version of this project for search which uses jsBuild to convert TS to JS. This jsconfig.json file is created.

 "compilerOptions": {
  "baseUrl": ".",
  "paths": {
   "*": [
    "*"
   ]
  }
 }
}
hugo v0.144.0-b289b17c433aa8ebf8c73ebbaf4bed973ac8e4d5+extended linux/amd64 BuildDate=2025-02-17T16:22:31Z VendorInfo=gohugoio
GOOS="linux"
GOARCH="amd64"
GOVERSION="go1.24.0"
github.com/sass/libsass="3.6.6"
github.com/webmproject/libwebp="v1.3.2"

It should be under the build key.
https://gohugo.io/getting-started/configuration-build/

Quite the beginner mistake. Didn’t notice for weeks.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.