{"library":"babel-plugin-universal-import","type":"library","category":null,"description":"Babel plugin that transforms dynamic import() calls into universal imports with chunk name magic comments, designed for use with react-universal-component and extract-css-chunks-webpack-plugin. Current stable version is 3.1.3 (v4.x exists but with breaking changes). Release cadence is sporadic; last v3 release was 2018-10-01, last v4 release 2020-04-15. Key differentiator: automatically generates chunk names, resolve paths, and CSS chunk loading boilerplate. Requires webpack 4+ and Babel 7+. Alternative to manual webpack magic comment management.","language":"javascript","status":"maintenance","version":"3.1.3","tags":["javascript","babel","universal","react","universal import","redux-first-router","ruc"],"last_verified":"Wed May 27","install":[{"cmd":"npm install babel-plugin-universal-import","imports":["{\n  \"plugins\": [\"universal-import\"]\n}","import universalImport from 'babel-plugin-universal-import/universalImport.js'","import universal from 'react-universal-component'"]},{"cmd":"yarn add babel-plugin-universal-import","imports":[]},{"cmd":"pnpm add babel-plugin-universal-import","imports":[]}],"homepage":null,"github":"https://github.com/faceyspacey/babel-plugin-universal-import","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/babel-plugin-universal-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-plugin-universal-import/compatibility"}}