fix(nitro): do not add import condition for ssr resolve conditions#34739
Conversation
|
|
@nuxt/kit
@nuxt/nitro-server
nuxt
@nuxt/rspack-builder
@nuxt/schema
@nuxt/vite-builder
@nuxt/webpack-builder
commit: |
Merging this PR will not alter performance
Comparing Footnotes
|
WalkthroughThe change modifies the SSR Vite environment configuration within the π₯ Pre-merge checks | β 2 | β 1β Failed checks (1 warning)
β Passed checks (2 passed)
βοΈ Tip: You can configure your own custom pre-merge checks in the settings. β¨ Finishing Touchesπ§ͺ Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
@yamachi4416 I've reverted this for both 4.x and 3.x branches as it was causing issues with vue-router v5. I'd happily re-open this, but let's do it against just |
|
@danielroe |
π Linked issue
π Description
fixed a module resolution issue (thanks to the vitest team for the investigation here).
modified ssr
resolve.conditionsto excludeimport. this is already resolved in nitro-v3 the pr.added an
importfilter, but it can be removed once nitropack supports it or upon full migration to nitro-v3.