{"id":18390,"library":"gmi-bundler-vite","title":"GMI Bundler Vite","description":"An alpha-stage Vite bundler plugin for the GMI ecosystem, version 1.1.8-alpha.0. Integrates React and Vite to streamline GMI app builds. Released as a pre-release, lacks documentation and may change rapidly. Differentiates by targeting GMI-specific bundling needs rather than general-purpose Vite plugins. Ships TypeScript types but has minimal adoption outside its internal use.","status":"active","version":"1.1.8-alpha.0","language":"javascript","source_language":"en","source_url":null,"tags":["javascript","gmi","typescript"],"install":[{"cmd":"npm install gmi-bundler-vite","lang":"bash","label":"npm"},{"cmd":"yarn add gmi-bundler-vite","lang":"bash","label":"yarn"},{"cmd":"pnpm add gmi-bundler-vite","lang":"bash","label":"pnpm"}],"dependencies":[],"imports":[{"note":"ESM-only; CJS require fails as package type is module","wrong":"const gmiBundlerVite = require('gmi-bundler-vite')","symbol":"default","correct":"import gmiBundlerVite from 'gmi-bundler-vite'"},{"note":"Named export is PascalCase; misspelling with camelCase is common","wrong":"import { bundlerVite } from 'gmi-bundler-vite'","symbol":"BundlerVite","correct":"import { BundlerVite } from 'gmi-bundler-vite'"},{"note":"Type-only export; using value import in runtime code may cause errors if not configured","wrong":"import { BundlerViteOptions } from 'gmi-bundler-vite'","symbol":"type BundlerViteOptions","correct":"import type { BundlerViteOptions } from 'gmi-bundler-vite'"}],"quickstart":{"code":"import { defineConfig } from 'vite';\nimport gmiBundlerVite from 'gmi-bundler-vite';\n\nexport default defineConfig({\n  plugins: [gmiBundlerVite()]\n});","lang":"typescript","description":"Basic setup to use gmi-bundler-vite as a Vite plugin in a GMI project."},"warnings":[{"fix":"Pin exact version and check changelog before upgrading","message":"Package is alpha; breaking changes frequent without notice","severity":"gotcha","affected_versions":">=1.0.0-alpha"},{"fix":"Review source code or contact maintainer","message":"No README or documentation provided; usage must be inferred from source","severity":"gotcha","affected_versions":"all"},{"fix":"Use Vite 4.x until update is released","message":"Requires Vite 4.x; not yet compatible with Vite 5","severity":"deprecated","affected_versions":">=1.1.0"},{"fix":"Use `import gmiBundlerVite from 'gmi-bundler-vite'; gmiBundlerVite()` instead of `import { createPlugin } from 'gmi-bundler-vite'`","message":"Default export changed from function to object in v1.1.0","severity":"breaking","affected_versions":"<1.1.0"}],"env_vars":null,"search_vec":"'1.1.8':16 'adopt':60 'alpha':6 'alpha-stag':5 'alpha.0':17 'app':25 'build':26 'bundl':45 'bundler':2,9 'chang':37 'differenti':39 'document':34 'ecosystem':14 'general':50 'general-purpos':49 'gmi':1,13,24,43,66 'gmi-specif':42 'integr':18 'intern':63 'javascript':65 'lack':33 'may':36 'minim':59 'need':46 'outsid':61 'plugin':10,53 'pre':31 'pre-releas':30 'purpos':51 'rapid':38 'rather':47 'react':19 'releas':27,32 'ship':54 'specif':44 'stage':7 'streamlin':23 'target':41 'type':56 'typescript':55,67 'use':64 'version':15 'vite':3,8,21,52","created_at":"2026-04-25T07:37:59.565334+00:00","updated_at":"2026-04-25T07:37:59.565334+00:00","problems":[{"fix":"Run `npm install gmi-bundler-vite@1.1.8-alpha.0`","cause":"Not installed or incorrect import path","error":"Cannot find module 'gmi-bundler-vite'"},{"fix":"Use default import: `import gmiBundlerVite from 'gmi-bundler-vite'`","cause":"Using named import pattern for default export after breaking change","error":"gmiBundlerVite is not a function"},{"fix":"Downgrade to Vite 4.x or wait for updated plugin version","cause":"Vite version mismatch; plugin expects Vite 4.x internals","error":"TypeError: Cannot read properties of undefined (reading 'resolvePlugin')"}],"ecosystem":"npm","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":"","cli_version":null,"type":"library","homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/gmi-bundler-vite","openapi_spec":null,"status_page":null,"smithery":null,"categories":["devops"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-07-24","install_tag":null}}