qwikifiers / qwik-nx

Nx plugin for Qwik
130 stars 23 forks source link

preview throws an error if using routeAction$ function #203

Closed dmitry-stepanenko closed 9 months ago

dmitry-stepanenko commented 9 months ago

To reproduce:

  1. Create a qwik-nx repo with an app
  2. add a page with a form according to the docs https://qwik.builder.io/docs/action/#routeaction
  3. try to run the preview nx preview myapp

Notice an error

It looks like the entry.preview.mjs has a wrong order of declarations when built in the Nx workspace. This is not the case for regular apps