-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
build.lib
overwrites build.rollupOptions.input
in v3
#9086
Closed
7 tasks done
SteveDesmond-ca opened this issue
Jul 13, 2022
· 1 comment
· Fixed by agrc/kitchen-sink#125 or #10116
Closed
7 tasks done
build.lib
overwrites build.rollupOptions.input
in v3
#9086
SteveDesmond-ca opened this issue
Jul 13, 2022
· 1 comment
· Fixed by agrc/kitchen-sink#125 or #10116
Labels
feat: library mode
p3-downstream-blocker
Blocking the downstream ecosystem to work properly (priority)
regression
The issue only appears after a new release
Comments
sapphi-red
added
regression
The issue only appears after a new release
feat: library mode
labels
Jul 14, 2022
This was referenced Jul 14, 2022
This was referenced Jul 25, 2022
sapphi-red
added
p3-downstream-blocker
Blocking the downstream ecosystem to work properly (priority)
and removed
pending triage
labels
Jul 31, 2022
4 tasks
fritx
added a commit
to fritx/vue-at
that referenced
this issue
Aug 9, 2022
fritx
added a commit
to fritx/vue-at
that referenced
this issue
Aug 11, 2022
7 tasks
This was referenced Aug 16, 2022
stdavis
added a commit
to agrc/kitchen-sink
that referenced
this issue
Aug 22, 2022
We will likely be able to upgrade again after this bug is fixed: vitejs/vite#9086
stdavis
added a commit
to agrc/kitchen-sink
that referenced
this issue
Aug 22, 2022
We will likely be able to upgrade again after this bug is fixed: vitejs/vite#9086
stdavis
added a commit
to agrc/kitchen-sink
that referenced
this issue
Aug 22, 2022
We will likely be able to upgrade again after this bug is fixed: vitejs/vite#9086
stdavis
added a commit
to agrc/kitchen-sink
that referenced
this issue
Aug 22, 2022
We will likely be able to upgrade again after this bug is fixed: vitejs/vite#9086
sapphi-red
changed the title
Wildcard lib entry no longer supported in v3
Aug 23, 2022
build.lib
overwrites build.rollupOptions.input
in v3
lsdsjy
pushed a commit
to lsdsjy/vite
that referenced
this issue
Sep 14, 2022
lsdsjy
added a commit
to lsdsjy/vite
that referenced
this issue
Sep 14, 2022
9 tasks
7 tasks
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
feat: library mode
p3-downstream-blocker
Blocking the downstream ecosystem to work properly (priority)
regression
The issue only appears after a new release
Describe the bug
I have a vite config that builds and outputs multiple files in "library mode". (see minimal repro) It works fine in vite v2, but fails in vite v3.
Steps to reproduce:
npm i
andnpm run vite
to see successful case in v2vite
inpackage.json
to3.0.0
npm i
andnpm run vite
to see failed case in v3Note I've also tried just putting 1 of the files as the
lib.entry
, and alternatively creating a "dummy" single file (e.g.blank.ts
) as the entry point, while keeping the list of files inrollupOptions.input
. It seems therollupOptions.input
is ignored in v3, as it's only building the file inlib.entry
.Reproduction
https://stackblitz.com/edit/vitejs-vite-wspcu8
System Info
Note that this also fails in Linux environments, such as StackBlitz
Used Package Manager
yarn and/or npm
Logs
vite v2
vite v3
Validations
The text was updated successfully, but these errors were encountered: