{"library":"babel-root-import","type":"library","category":null,"description":"Babel plugin to enable root-relative imports (e.g., import Foo from '@/foo') in JavaScript/TypeScript projects. Version 4.1.8 is the legacy package, renamed to babel-plugin-root-import (latest v6.6.0). This plugin transforms root-relative paths to relative paths at build time. Key differentiator: simple configuration (rootPathSuffix) and support for dynamic imports. Often confused with webpack aliases but works at Babel level. Low release cadence: last update 2019. Consider using babel-plugin-root-import instead, which is the maintained successor.","language":"javascript","status":"renamed","version":"4.1.8","tags":["javascript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install babel-root-import","imports":["module.exports = { plugins: [['babel-root-import', { rootPathSuffix: 'src' }]] }","{ \"plugins\": [[\"babel-root-import\", { \"rootPathSuffix\": \"src\" }]] }","import Foo from '@/foo'"]},{"cmd":"yarn add babel-root-import","imports":[]},{"cmd":"pnpm add babel-root-import","imports":[]}],"homepage":null,"github":"https://github.com/entwicklerstube/babel-root-import","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/babel-root-import","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-root-import/compatibility"}}