{"library":"vite-plugin-resolve-externals","type":"library","category":null,"description":"A Vite plugin (v0.2.2) that resolves external dependencies by mapping import specifiers to global variables or custom code snippets. It allows configuring external mappings via plugin options or Vite's resolve.externals configuration. Useful for replacing Node.js or client-side libraries with CDN scripts in Vite projects. It supports both simple global mappings and advanced code generation for scoped exports. No recent updates; stable but minimal feature set compared to alternatives like rollup-plugin-external-globals. Suitable for small to medium projects needing quick externals resolution.","language":"javascript","status":"active","version":"0.2.2","tags":["javascript","vite","plugin","resolve","externals"],"last_verified":"Mon Apr 27","install":[{"cmd":"npm install vite-plugin-resolve-externals","imports":["import resolveExternalsPlugin from 'vite-plugin-resolve-externals'","import * as plugin from 'vite-plugin-resolve-externals'","const resolveExternalsPlugin = (await import('vite-plugin-resolve-externals')).default"]},{"cmd":"yarn add vite-plugin-resolve-externals","imports":[]},{"cmd":"pnpm add vite-plugin-resolve-externals","imports":[]}],"homepage":null,"github":"https://github.com/lceric/vite-plugin-resolve-externals","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/vite-plugin-resolve-externals","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}