Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions packages/mako/src/lessLoader/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,16 @@ import url from 'url';
import { createParallelLoader } from './parallelLessLoader';

export interface LessLoaderOpts {
modifyVars: Record<string, string>;
modifyVars?: Record<string, string>;
globalVars?: Record<string, string>;
math:
math?:
| 'always'
| 'strict'
| 'parens-division'
| 'parens'
| 'strict-legacy'
| number
| undefined;
sourceMap: any;
| number;
sourceMap?: any;
/**
* A plugin can be a file path string, or a file path string with a params object.
* Notice! The file path should be a resolved path like require.resolve("less-plugin-clean-css"),
Expand Down