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

[v3] build.lib overwrites build.rollupOptions.input #9701

Closed
7 tasks done
aboutsimon opened this issue Aug 16, 2022 · 1 comment
Closed
7 tasks done

[v3] build.lib overwrites build.rollupOptions.input #9701

aboutsimon opened this issue Aug 16, 2022 · 1 comment
Labels
duplicate This issue or pull request already exists

Comments

@aboutsimon
Copy link

Describe the bug

In v2, we are depending on a build configuration like so,

https://stackblitz.com/edit/vitejs-vite-gvrxpe?file=vite.config.js

to generate CSS files along our Web Components. I'm unable to reproduce this with vite v3 and i suspect, this is due to the fact, that build.lib overwrites build.rollupOptions.input and thus the two options cannot be combined anymore.

Is this the new intended behavior? Or am i missing something here?

Reproduction

https://stackblitz.com/edit/vitejs-vite-6y68ls?file=vite.config.js

System Info

System:
    OS: Linux 5.19 Arch Linux
    CPU: (4) x64 Intel(R) Core(TM) i7-7600U CPU @ 2.80GHz
    Memory: 10.34 GB / 23.23 GB
    Container: Yes
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 16.15.1 - ~/.nvm/versions/node/v16.15.1/bin/node
    Yarn: 1.22.15 - ~/.nvm/versions/node/v16.15.1/bin/yarn
    npm: 8.11.0 - ~/.nvm/versions/node/v16.15.1/bin/npm
  Browsers:
    Chromium: 104.0.5112.79
    Firefox: 103.0.2
  npmPackages:
    vite: ^3.0.7 => 3.0.7

Used Package Manager

yarn

Logs

No response

Validations

@sapphi-red
Copy link
Member

Duplicate of #9086.

@sapphi-red sapphi-red closed this as not planned Won't fix, can't repro, duplicate, stale Aug 16, 2022
@sapphi-red sapphi-red added duplicate This issue or pull request already exists and removed pending triage labels Aug 16, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Aug 31, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants