{"library":"babel-preset-vite","type":"library","category":null,"description":"A Babel preset that emulates Vite's non-standard functionality in non-Vite environments, primarily for testing with Node.js-based runners. Version 1.1.3 (stable) includes three plugins: babel-plugin-transform-vite-meta-env (import.meta.env), babel-plugin-transform-vite-meta-glob (import.meta.glob), and babel-plugin-transform-vite-meta-hot (import.meta.hot). Each plugin can be individually disabled via preset options. The preset ships TypeScript types and follows a monthly release cadence with bug fixes. Key differentiator: allows code using Vite-specific features to run in Jest or other Node.js test runners without modification.","language":"javascript","status":"active","version":"1.1.3","tags":["javascript","babel","vite","preset","env","glob","hot","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install babel-preset-vite","imports":["module.exports = require('babel-preset-vite')","{\n  \"presets\": [\"babel-preset-vite\"]\n}","{\n  \"presets\": [[\"babel-preset-vite\", { \"env\": false }]]\n}"]},{"cmd":"yarn add babel-preset-vite","imports":[]},{"cmd":"pnpm add babel-preset-vite","imports":[]}],"homepage":null,"github":"https://github.com/OpenSourceRaidGuild/babel-vite","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/babel-preset-vite","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/babel-preset-vite/compatibility"}}