{"library":"gatsby-plugin-root-import","type":"library","category":null,"description":"Gatsby plugin that configures Webpack to resolve modules from absolute paths, eliminating relative `../../` imports. Latest v2.0.9 supports Gatsby v2 through v5 via peer dependencies. Key differentiator: provides automatic `src` resolution without options, plus custom aliases and `resolveModules` for additional directories. Maintenance mode as of 2023; no active development but stable. Alternative: use Gatsby's native `resolve.alias` via Webpack config in `gatsby-node.js` for more control.","language":"javascript","status":"maintenance","version":"2.0.9","tags":["javascript","gatsby","gatsby-plugin","import","root"],"last_verified":"Wed May 27","install":[{"cmd":"npm install gatsby-plugin-root-import","imports":["plugins: ['gatsby-plugin-root-import']","options: { resolveModules: [path.join(__dirname, 'libs')] }","options: { utils: path.join(__dirname, 'src/components/utilities') }"]},{"cmd":"yarn add gatsby-plugin-root-import","imports":[]},{"cmd":"pnpm add gatsby-plugin-root-import","imports":[]}],"homepage":null,"github":"https://github.com/mongkuen/gatsby-plugin-root-import","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/gatsby-plugin-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/gatsby-plugin-root-import/compatibility"}}