Nuptial Predicament Mediation

    @brikcss/stakcss-bundler-ejs

    0.0.1 • Public • Published

    Stakcss EJS Bundler

    Bundler for Stakcss that compiles EJS.

    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-ejs --save-dev

    Usage

    Add the bundler to Stakcss and configure like any other bundler:

    • Node:
       stak({
       	bundlers: ['@brikcss/stakcss-bundler-ejs']
       });
       // or with options and data:
       stak({
       	bundlers: [{
       		run: '@brikcss/stakcss-bundler-ejs',
       		options: {},
       		data: {}
       	}]
       });
    • CLI:
       stak ... --bundlers=@brikcss/stakcss-bundler-ejs

    Bundler Configuration

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

    • bundler.options {Object} Options passed to EJS. The default options are: { _with: false, localsName: 'data' }.
    • bundler.data {Object | String} Data to compile EJS content with. Can be actual data or a String, which is treated as a path to a data file which can be "required" into node.

    See Stakcss for more on using Stakcss bundlers.

    Install

    npm i @brikcss/stakcss-bundler-ejs

    DownloadsWeekly Downloads

    6

    Version

    0.0.1

    License

    none

    Unpacked Size

    6.89 kB

    Total Files

    3

    Last publish

    Collaborators

    • thezimmee