@silurus/ooxml 0.48.0 → 0.48.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -30,7 +30,7 @@ pnpm add @silurus/ooxml
|
|
|
30
30
|
|
|
31
31
|
> **Bundler note**: this package embeds `.wasm` files. With Vite add [`vite-plugin-wasm`](https://github.com/Menci/vite-plugin-wasm); with webpack use [`experiments.asyncWebAssembly`](https://webpack.js.org/configuration/experiments/).
|
|
32
32
|
|
|
33
|
-
> **Bundle size note**: npm's *Unpacked Size*
|
|
33
|
+
> **Bundle size note**: the package is ESM-only (`.mjs`). npm's *Unpacked Size* sums all three format bundles plus the statically-bundled math engine (MathJax + STIX Two Math, ~3 MB) used to render OOXML equations. What actually lands in your app is much smaller — import only the format you need (e.g. `@silurus/ooxml/pptx`), and the math engine is a shared chunk loaded lazily, only when a document contains equations (docx / pptx). It is tree-shaken away entirely for xlsx.
|
|
34
34
|
|
|
35
35
|
---
|
|
36
36
|
|
package/package.json
CHANGED