File Viewer v2.1.30
Full packages now use one complete renderer and asset-delivery contract.
- All eight Full packages include
preset-all. Do not install or pass another preset. npm installalone does not publish Workers, WASM, fonts, or vendor assets into the application.- Vite: register
@file-viewer/vite-pluginwithfileViewerRenderers({ copyAssets: true }); dev and build publish the matching assets automatically. - Webpack, Vue CLI, Rspack, Rollup, and Umi: run
npx --no-install file-viewer-copy-assets ./public/file-vieweronce. @file-viewer/web-full: deploy the completedist/tree intact. Copying only the entry IIFE is incomplete.
Validated across React 16–19, Vue 2.6/2.7/3, Svelte 5, jQuery, Web Components, Vue CLI 3, Vite dev/build, and PDF/PPTX/Archive/CAD Worker/WASM paths.