Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[🐞] v1.10.0 - pnpm build.lib also build routes #7104

Open
GrandSchtroumpf opened this issue Nov 27, 2024 · 0 comments
Open

[🐞] v1.10.0 - pnpm build.lib also build routes #7104

GrandSchtroumpf opened this issue Nov 27, 2024 · 0 comments
Labels
STATUS-1: needs triage New issue which needs to be triaged TYPE: bug Something isn't working

Comments

@GrandSchtroumpf
Copy link
Contributor

Which component is affected?

Qwik Rollup / Vite plugin

Describe the bug

I've got a repo where components folder is for the lib and routes folder is for my app. When I run pnpm build.lib it also build the components from the routes folder.
Here is the vite.config for lib: https://github.com/GrandSchtroumpf/qwik-hueeye/blob/main/adapters/lib/vite.config.ts

This start happening on v1.10.0, and is still there is v1.11.0

Reproduction

https://github.com/GrandSchtroumpf/qwik-hueeye

Steps to reproduce

git clone https://github.com/GrandSchtroumpf/qwik-hueeye.git
cd qwik-hueeye
pnpm install
pnpm build.lib

Check /lib: we can see files like layout.xxxx.js
Also under /lib/index.qwik.mjs we import from ./index-BTLWW2YL.js, and if we check the file we've got the routes.

System Info

System:
    OS: Windows 11 10.0.22631
    CPU: (32) x64 AMD Ryzen 9 7950X3D 16-Core Processor
    Memory: 19.27 GB / 31.18 GB
  Binaries:
    Node: 22.8.0 - ~\.nvm\versions\node\v22.8.0\bin\node.EXE
    npm: 10.9.0 - ~\.nvm\versions\node\v22.8.0\bin\npm.CMD
    pnpm: 9.10.0 - ~\.nvm\versions\node\v22.8.0\bin\pnpm.CMD
  Browsers:
    Edge: Chromium (129.0.2792.65)
    Internet Explorer: 11.0.22621.3527
  npmPackages:
    @builder.io/qwik: 1.10.0 => 1.10.0 
    @builder.io/qwik-city: 1.10.0 => 1.10.0 
    @builder.io/qwik-worker: ^0.0.1 => 0.0.1
    typescript: 5.5.4 => 5.5.4
    undici: 6.19.0 => 6.19.0
    vite: 5.3.5 => 5.3.5

Additional Information

No response

@GrandSchtroumpf GrandSchtroumpf added STATUS-1: needs triage New issue which needs to be triaged TYPE: bug Something isn't working labels Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
STATUS-1: needs triage New issue which needs to be triaged TYPE: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant