# npm
$ npm i father-plugin-less -D
# yarn
$ yarn add father-plugin-less -D
# pnpm
$ pnpm add father-plugin-less -D
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
});
custom config for less compiler. more config see
import { defineConfig } from 'father-plugin-less';
export defineConfig({
lessInBabel: {
modifyVars: {
}
// ...
}
});
to learn more, see
See Contributing Guide.
MIT.