Module not found #2526
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
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: sheetjs/sheetjs#2526
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?
Angular 13 - xlsx
Version : 0.18.2
Module not found: Error: Can't resolve './dist/cpexcel.js' in '....../node_modules/xlsx/dist'
I am using "xlsx.mini.min.js" to export data. In 0.18.0 version everything works fine.
0.18.1 flipped from CJS to ESM. You should be using the import directly without an override.
Irrespective of best practices, it should work with the mini build. How are you doing the webpack override?
@blueiceprj @kingyue737 just pushed a commit with a few fixes to remove some node globals and manually suppress the require statements. If you have control over the override, can you manually download the
xlsx.mini.min.js
script from the repo and adjust the webpack config to use this? If it works, we can publish a new release with the changes