Pages build not taking Env changes

framework: NuxtJS

I have a pages project that uses a nuxt build module to exclude pages when set to a specific value, regardless of what I set the value to in the Pages environment it is still excluding those pages from the build. Things I’ve tried:

  • Changing the environment variable in Pages
  • Removing the build module from the nuxt.config.js
  • Removing the build module from the nuxt.config.js as well as the file from the project
  • Clearing build cache + steps above

None of these steps seem to be working and I’m still unable to generate all of the pages. Does anyone have any insight as to what could be happening here?