When I use vite5 for building I get the warning #3219
Labels
No Label
DBF
Dates
Defined Names
Features
Formula
HTML
Images
Infrastructure
Integration
International
ODS
Operations
Performance
PivotTables
Pro
Protection
Read Bug
SSF
SYLK
Style
Write Bug
good first issue
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: sheetjs/sheetjs#3219
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I think this issue is related to the rollup4 change
https://github.com/rollup/rollup/releases/tag/v4.0.0
https://github.com/rollup/rollup/pull/5165
The offending line is:
Can you confirm whether the following replacement elicits the same warning:
We've had to do this transform in a few places before.
Yes, if we make this change, there won't be any problem
Before committing the change, how can we reproduce the error?
Following the ViteJS Bundler demo, using vite v5.4.6, neither
npm run dev
nornpx vite build
show that error when using the original form.I am currently unable to reproduce it simply because the environment I am using is quite complex. I can only provide the code for using xlsx
The environment is the only relevant part. Can you share the following:
Vite config. It will either be
vite.config.js
orvite.config.ts
at the root of your projectAny RollupJS config files (if they exist). According to the ViteJS docs, RollupJS options should be specified in the ViteJS config under
build.rollupOptions
, but you may have an unconventional setupvite: 5.4.6
rollup: 4.21.1
We are unable to reproduce it locally. However, since the two expressions are equivalent, we will make the change.