0.10.0 • Published 4 years ago

@factorial/frontend-stack-postcss-export-custom-variables v0.10.0

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

Factorial frontend stack postcss-export-custom-variables

@factorial/frontend-stack-postcss-export-custom-variables is Neutrino middleware for postcss-export-custom-variables

Features

  • Exports PostCSS variables to a JSON file for further consumption in a twig/js tool chain.

Requirements

  • Node.js ^8.10 or 10+
  • Yarn v1.2.1+, or npm v5.4+
  • Neutrino v8

Installation

@factorial/frontend-stack-postcss-export-custom-variables can be installed via the Yarn or npm clients.

Usage

yarn add neutrino @factorial/frontend-stack-core @factorial/frontend-stack-postcss-export-custom-variables --dev

Then add the following your package.json.

"scripts": {
  "start": "yarn run neutrino start --use @factorial/frontend-stack-core @factorial/frontend-stack-postcss-export-custom-variables",
  "build": "yarn run neutrino build --use @factorial/frontend-stack-core @factorial/frontend-stack-postcss-export-custom-variables --options.env.NODE_ENV production"
}

Options

This middleware exposed the same options as postcss-export-custom-variables, but sets the following defaults:

namevalue
destination"./source/_patterns/01-theme/theme.json"
exporterA custom JSON export that wraps all properties in a "variables" key.
0.11.0

4 years ago

0.10.0

4 years ago

0.8.5-alpha.0

5 years ago

0.8.4

5 years ago

0.8.0

5 years ago

0.7.0

5 years ago

0.6.2

5 years ago

0.6.0

5 years ago

0.5.0

5 years ago