{"id":13417227,"url":"https://github.com/yzydeveloper/vite-plugin-babel-compiler","last_synced_at":"2025-07-15T16:31:11.913Z","repository":{"id":48149902,"uuid":"487214871","full_name":"yzydeveloper/vite-plugin-babel-compiler","owner":"yzydeveloper","description":"Using Babel Compiler with Vite","archived":false,"fork":false,"pushed_at":"2023-11-21T01:51:09.000Z","size":42,"stargazers_count":25,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-01T09:49:22.292Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yzydeveloper.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2022-04-30T07:44:33.000Z","updated_at":"2025-01-04T12:22:55.000Z","dependencies_parsed_at":"2024-01-07T18:04:20.539Z","dependency_job_id":"62604258-b9a7-42cf-8a94-6ac2be69a191","html_url":"https://github.com/yzydeveloper/vite-plugin-babel-compiler","commit_stats":{"total_commits":16,"total_committers":3,"mean_commits":5.333333333333333,"dds":0.5,"last_synced_commit":"001191494e087d68060990d24290bc0c6ce34bb9"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/yzydeveloper/vite-plugin-babel-compiler","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yzydeveloper%2Fvite-plugin-babel-compiler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yzydeveloper%2Fvite-plugin-babel-compiler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yzydeveloper%2Fvite-plugin-babel-compiler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yzydeveloper%2Fvite-plugin-babel-compiler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yzydeveloper","download_url":"https://codeload.github.com/yzydeveloper/vite-plugin-babel-compiler/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yzydeveloper%2Fvite-plugin-babel-compiler/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265445302,"owners_count":23766445,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-30T22:00:34.194Z","updated_at":"2025-07-15T16:31:11.632Z","avatar_url":"https://github.com/yzydeveloper.png","language":"TypeScript","funding_links":[],"categories":["Plugins"],"sub_categories":["Framework-agnostic Plugins"],"readme":"# vite-plugin-babel-compiler\n\nVite runtime uses Babel compiler\n\n\u003e Work around some experimental features not supported by Esbuild.\n\n## Install\n\n```bash\nnpm i -D vite-plugin-babel-compiler\n```\n\nAdd plugin to your `vite.config.ts`:\n\n## Config Decorator\n\n```bash\nnpm install -D @babel/plugin-proposal-class-properties\nnpm install -D @babel/plugin-proposal-decorators\n```\n\n```typescript\nimport babel from 'vite-plugin-babel-compiler'\n\n{\n    plugins: [\n        babel({\n            babel: {\n                plugins: [\n                        ['@babel/plugin-proposal-decorators', { legacy: true }],\n                        ['@babel/plugin-proposal-class-properties', { loose: true }],\n                ],\n                exclude: ['dep',/path/]\n                include: ['dep',/path/]\n            }\n        })\n    ]\n}\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyzydeveloper%2Fvite-plugin-babel-compiler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyzydeveloper%2Fvite-plugin-babel-compiler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyzydeveloper%2Fvite-plugin-babel-compiler/lists"}