mirror of
https://github.com/sass/sass.git
synced 2024-09-21 10:37:22 +00:00
Add the sourceMapIncludeSources option in the new JS API (#3226)
This commit is contained in:
parent
4f42632347
commit
f355f602fc
10
js-api-doc/options.d.ts
vendored
10
js-api-doc/options.d.ts
vendored
@ -275,6 +275,16 @@ export interface Options<sync extends 'sync' | 'async'> {
|
||||
*/
|
||||
sourceMap?: boolean;
|
||||
|
||||
/**
|
||||
* Whether Sass should include the sources in the generated source map.
|
||||
*
|
||||
* This option has no effect if [[sourceMap]] is `false`.
|
||||
*
|
||||
* @defaultValue `false`
|
||||
* @category Output
|
||||
*/
|
||||
sourceMapIncludeSources?: boolean;
|
||||
|
||||
/**
|
||||
* The [[OutputStyle]] of the compiled CSS.
|
||||
*
|
||||
|
8
spec/js-api/options.d.ts
vendored
8
spec/js-api/options.d.ts
vendored
@ -104,6 +104,14 @@ export interface Options<sync extends 'sync' | 'async'> {
|
||||
*/
|
||||
sourceMap?: boolean;
|
||||
|
||||
/**
|
||||
* If true, the compiler must include the sources in the sourceMap of the
|
||||
* `CompileResult`.
|
||||
*
|
||||
* @default false
|
||||
*/
|
||||
sourceMapIncludeSources?: boolean;
|
||||
|
||||
/**
|
||||
* If present, the compiler must format the emitted CSS in this style.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user