Skip to content

Conversation

dmitry-stepanenko
Copy link
Contributor

@dmitry-stepanenko dmitry-stepanenko commented Feb 8, 2023

By default qwikNxVite plugin will provide Qwik with paths of all Nx projects, that are specified in the tsconfig.base.json.
However, this behavior might not be always suitable, especially in cases when there's code that you don't want the optimizer to go through (for example, Angular components). Adding filter options in order to be able to exclude such libs from the list that is provided to the Qwik

plugins: [
  ...
  qwikNxVite({
     includeProjects: { name: /^shared/, tags: ['scope:shared'] },
     excludeProjects: { name: ['tmp-test-lib-b'] },
  })
]

@dmitry-stepanenko dmitry-stepanenko marked this pull request as ready for review February 9, 2023 09:12
@dmitry-stepanenko dmitry-stepanenko force-pushed the ds/qwik-nx-vite-filter branch 2 times, most recently from cf5b035 to 747c1c7 Compare February 9, 2023 09:19
@shairez shairez merged commit 979e76c into main Feb 14, 2023
@dmitry-stepanenko dmitry-stepanenko deleted the ds/qwik-nx-vite-filter branch March 6, 2023 07:28
reemardelarosa pushed a commit to reemardelarosa/qwik-nx that referenced this pull request Mar 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants