0.0.2 • Published 3 years ago
father-plugin-less v0.0.2
Usage
# npm
$ npm i father-plugin-less -D
# yarn
$ yarn add father-plugin-less -D
# pnpm
$ pnpm add father-plugin-less -DConfigure
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.