Open dgonzalezr opened 1 year ago
With prerender you need to set the url: baseUrl: ’https://.local/', for the www task
baseUrl: 'https://.local/',
Unfortunately the error you got is the generic error I get from the stencil compiler without the log entries ^^'
Describe the bug
Enabling the
prerender
option in the target build makes the@nxext/stencil:build
fail.To Reproduce
npx create-nx-workspace@latest myorg --preset=ts
nxext/stencil
is not yet compatible with Nx v15:@nxext/stencil
:npm i -D @nxext/stencil
nx g @nxext/stencil:lib components --buildable --publishable
prerender
option to the build targetExpected behavior
The
prerender
option work as expected in the same way as you would do in a standalone Stencil library component within the--prerender
CLI flag