UNPKG

@wjunt/webpack-config

Version:

Presets of webpack config

10 lines (9 loc) 439 B
/// <reference types="less" /> import { Configuration } from 'webpack'; import { RuleSetRuleWithStrategy } from './common'; import { CSSLoaderOptions, CSSRule } from './css'; export interface LessRule extends RuleSetRuleWithStrategy, Omit<CSSRule, 'options'> { options?: Less.Options; cssLoaderOptions?: CSSLoaderOptions; } export declare function less({ options, cssLoaderOptions, useAppend, ...rule }?: LessRule): Configuration;