{"library":"rollup-plugin-external-assets","type":"library","category":null,"description":"A Rollup plugin that externalizes assets (e.g., images, fonts) so they are not bundled into the JavaScript output, but are still copied to the output directory with hashed filenames. Current stable version is 4.1.1, released April 2024. The plugin uses Rollup's asset emission system to handle deduplication and hashing. Key differentiators: it avoids bundling assets inline, preserving import paths as require() or dynamic imports pointing to the emitted asset files. It supports include/exclude patterns, custom resolve base directory, and works with static and dynamic imports. TypeScript types are included. Notable breaking changes in v4: switched to named export only (no default export) and changed the function signature.","language":"javascript","status":"active","version":"4.1.1","tags":["javascript","rollup-plugin","assets","import","external","typescript"],"install":[{"cmd":"npm install rollup-plugin-external-assets","imports":["import { externalAssets } from 'rollup-plugin-external-assets'","const { externalAssets } = require('rollup-plugin-external-assets')","import type { ExternalAssetsOptions } from 'rollup-plugin-external-assets'"]},{"cmd":"yarn add rollup-plugin-external-assets","imports":[]},{"cmd":"pnpm add rollup-plugin-external-assets","imports":[]}],"homepage":null,"github":"https://github.com/recursive-beast/rollup-plugin-external-assets","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/rollup-plugin-external-assets","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/rollup-plugin-external-assets/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Thu Jun 18","next_check":"Sun Jul 26","install_tag":null}}