Thomas Jund d8bfd39c89 | ||
---|---|---|
.. | ||
src | ||
test | ||
.editorconfig | ||
.gitignore | ||
.rollup.js | ||
.tape.js | ||
.travis.yml | ||
CHANGELOG.md | ||
CONTRIBUTING.md | ||
INSTALL.md | ||
LICENSE.md | ||
README.md | ||
package.json |
README.md
PostCSS postcss-explore
PostCSS postcss-explore lets you ... in CSS.
.example { ... }
/* becomes */
.example { ... }
Usage
Add PostCSS postcss-explore to your project:
npm install postcss-postcss-explore --save-dev
Use PostCSS postcss-explore to process your CSS:
const postcssPostcssExplore = require('postcss-postcss-explore');
postcssPostcssExplore.process(YOUR_CSS /*, processOptions, pluginOptions */);
Or use it as a PostCSS plugin:
const postcss = require('postcss');
const postcssPostcssExplore = require('postcss-postcss-explore');
postcss([
postcssPostcssExplore(/* pluginOptions */)
]).process(YOUR_CSS /*, processOptions */);
PostCSS postcss-explore runs in all Node environments, with special instructions for:
Node | PostCSS CLI | Webpack | Create React App | Gulp | Grunt |
---|
Options
...