Open schirrel opened 1 year ago
hey @ZachJW34 i've found where it need to be change, what you say? can i open a pr? or may we need to discuss this? Basically the static generator keeps using the browser build instead of the generator
@ZachJW34 @BuckyMaler could you see this?
Current Behavior
I am need to build static SSG with nuxt and the build output must be on exactly
dist/production
but when i use theyarn nx static
from @nx-plus/nuxt:static it always generate the "/dist" folder.I had even add the below code on my
nuxt.config.js
but it was ignoredI hade also set
"buildDir": "dist/production"
on project.json but the nx-plus keeps generating adist
folder inside thedist/production
folder, image:I've tried to use
nx:run-commands
to see if my config onnuxt.config.js
was wrong, but withnuxt generate"
thedist
folder is not generate inside thedist/production
, see:Expected Behavior
@nx-plus/nuxt:static
respect the build defined atnuxt.config.js
undergenerate.dir
prop, like the nuxt generate does:Steps to Reproduce
Fork: https://github.com/schirrel/nx-nuxt-vue
Environment
Plugin name and version: "@nx-plus/nuxt": "14.1.0",