{"library":"babel-plugin-treat","type":"library","category":null,"description":"Babel plugin for treat, a CSS-in-JS library that compiles out all runtime style definitions to static CSS files at build time. Version 1.6.2 is the latest, with treat itself at v2.x. The plugin is required for Babel-based setups (alternative to treat webpack loader). Key differentiator: treat is build-time only, unlike runtime CSS-in-JS libraries. The plugin handles extraction of themed styles and local scope. Active maintenance, integrated into treat monorepo.","language":"javascript","status":"active","version":"1.6.2","tags":["javascript","treat"],"last_verified":"Wed May 27","install":[{"cmd":"npm install babel-plugin-treat","imports":["module.exports = { presets: [['treat', { theme: 'src/theme.js' }]] }","plugins: ['babel-plugin-treat']","// .babelrc\n{\n  \"plugins\": [\n    [\"babel-plugin-treat\", {\n      \"theme\": \"./path/to/theme.js\"\n    }]\n  ]\n}"]},{"cmd":"yarn add babel-plugin-treat","imports":[]},{"cmd":"pnpm add babel-plugin-treat","imports":[]}],"homepage":"https://seek-oss.github.io/treat","github":"https://github.com/seek-oss/treat","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/babel-plugin-treat","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-treat/compatibility"}}