A Babel preset for compiling CSSX, a CSS-in-JS syntax extension that allows writing CSS directly in JavaScript/JSX files. Version 0.2.32 is a pre-1.0 release with no regular release cadence. It strips CSSX syntax during transpilation, outputting plain JavaScript. Differentiates from other CSS-in-JS libraries by using a custom parser/tokenizer rather than template literals. Limited adoption and documentation.
npm install babel-preset-cssxjsVerified import paths — ran on the pinned version, not inferred.
Shows how to configure the preset in .babelrc and run Babel with the preset.
Pin to exact version and test after every update.
Install cssxjs: npm install cssxjs
Upgrade to Babel 7 and latest preset version.
Run: npm install cssxjs
Use require('babel-preset-cssxjs') directly, not default property.