{ "manifest": { "name": "@emotion/babel-plugin", "version": "11.13.5", "description": "A recommended babel preprocessing plugin for emotion, The Next Generation of CSS-in-JS.", "main": "dist/emotion-babel-plugin.cjs.js", "module": "dist/emotion-babel-plugin.esm.js", "exports": { ".": { "types": { "import": "./dist/emotion-babel-plugin.cjs.mjs", "default": "./dist/emotion-babel-plugin.cjs.js" }, "module": "./dist/emotion-babel-plugin.esm.js", "import": "./dist/emotion-babel-plugin.cjs.mjs", "default": "./dist/emotion-babel-plugin.cjs.js" }, "./package.json": "./package.json" }, "files": [ "src", "lib", "dist" ], "dependencies": { "@babel/helper-module-imports": "^7.16.7", "@babel/runtime": "^7.18.3", "@emotion/hash": "^0.9.2", "@emotion/memoize": "^0.9.0", "@emotion/serialize": "^1.3.3", "babel-plugin-macros": "^3.1.0", "convert-source-map": "^1.5.0", "escape-string-regexp": "^4.0.0", "find-root": "^1.1.0", "source-map": "^0.5.7", "stylis": "4.2.0" }, "devDependencies": { "@babel/core": "^7.18.5", "babel-check-duplicated-nodes": "^1.0.0" }, "author": { "name": "Kye Hohenberger" }, "homepage": "https://emotion.sh/", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/emotion-js/emotion/tree/main/packages/babel-plugin" }, "keywords": [ "styles", "emotion", "react", "css", "css-in-js" ], "bugs": { "url": "https://github.com/emotion-js/emotion/issues" }, "_registry": "npm", "_loc": "/home/josie/.cache/yarn/v6/npm-@emotion-babel-plugin-11.13.5-integrity/node_modules/@emotion/babel-plugin/package.json", "readmeFilename": "README.md", "readme": "# @emotion/babel-plugin\n\n> Babel plugin for the minification and optimization of emotion styles.\n\n`@emotion/babel-plugin` is highly recommended, but not required in version 8 and\nabove of Emotion.\n\n## Features\n\n
| Feature/Syntax | \nNative | \nBabel Plugin Required | \nNotes | \n
|---|---|---|---|
css`` | \n ✅ | \n\n | \n |
css(...) | \n ✅ | \n\n | Generally used for object styles. | \n
| components as selectors | \n\n | ✅ | \nAllows an emotion component to be used as a CSS selector. | \n
| Minification | \n\n | ✅ | \nAny leading/trailing space between properties in your css and styled blocks is removed. This can reduce the size of your final bundle. | \n
| Dead Code Elimination | \n\n | ✅ | \nUglifyjs will use the injected /*#__PURE__*/ flag comments to mark your css and styled blocks as candidates for dead code elimination. | \n
| Source Maps | \n\n | ✅ | \nWhen enabled, navigate directly to the style declaration in your javascript file. | \n
| Contextual Class Names | \n\n | ✅ | \nGenerated class names include the name of the variable or component they were defined in. | \n