UNPKG

352 BTypeScriptView Raw
1import { Configuration, RuleSetCondition } from 'webpack';
2
3interface Options {
4 styleLoaderOptions?: object | false;
5 cssLoaderOptions?: object | false;
6 sassLoaderOptions?: object | false;
7 rule?: RuleSetCondition;
8}
9
10declare interface PresetScss {
11 webpack: (config?: Configuration, options?: Options) => Configuration;
12}
13
14export = PresetScss;