father-plugin-less
v0.0.2
Published
shims v1 lessInBabel feature in v4
Downloads
4
Maintainers
Readme
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.