Node Promiscuous Modules

    @brikcss/stakcss-bundler-postcss

    0.4.0 • Public • Published

    Stakcss PostCSS Bundler

    Stakcss Bundler that compiles PostCSS.

    NPM version NPM downloads per month Travis branch NPM version Coverage Status Commitizen friendly semantic release code style: prettier

    Install

    npm install @brikcss/stakcss @brikcss/stakcss-bundler-postcss --save-dev

    Usage

    • Node:

       stak({
       	bundlers: ['@brikcss/stakcss-bundler-postcss']
       });

      or with options and data:

       stak({
       	bundlers: [{
       		run: '@brikcss/stakcss-bundler-postcss',
       		options: {}
       	}]
       });
    • CLI:

       stak <source> [--output=<path>] --bundlers=@brikcss/stakcss-bundler-postcss

      or with a config file:

       stak --config=<path to config>

    Bundler Configuration

    Note: From a CLI, you must use a config file (--config=<path>) to configure the bundler.

    • bundler.options {Object} Options passed to PostCSS. The default options are:

       {
       	from: typeof config.source === 'string' ? config.source : '',
       	to: config.output,
       	map: config.isProd
       		? false
       		: {
       				inline: false,
       				prev: config.sourceMap ? config.sourceMap : false
       		  }
       }
    • bundler.plugins {Array} Array of PostCSS plugins to use.

    See Stakcss for more on using Stakcss bundlers.

    Install

    npm i @brikcss/stakcss-bundler-postcss

    DownloadsWeekly Downloads

    26

    Version

    0.4.0

    License

    none

    Unpacked Size

    8.01 kB

    Total Files

    3

    Last publish

    Collaborators

    • thezimmee