Skip to content

innocces/father-plugin-less

Repository files navigation

father-plugin-less logo


npm package node compatibility discord chat


father-plugin-less

Usage

# npm
$ npm i father-plugin-less -D
# yarn
$ yarn add father-plugin-less -D
# pnpm
$ pnpm add father-plugin-less -D

Configure

configure it in father config file .fatherrc.ts:

// use father-plugin-less defineConfig instand father export
import { defineConfig } from 'father-plugin-less';

export defineConfig({
  lessInBabel: LessInBabelOptions
});

Options

custom config for less compiler. more config see

import { defineConfig } from 'father-plugin-less';

export defineConfig({
  lessInBabel: {
    modifyVars: {

    }
    // ...
  }
});

to learn more, see

Contribution

See Contributing Guide.

License

MIT.

Sponsoring