Description: sass module is not packaged and needs packaging dart lang first
Forwarded: not-needed
Reviewed-By: Yadd <yadd@debian.org>
Last-Update: 2022-07-28

--- a/src/index.ts
+++ b/src/index.ts
@@ -1,6 +1,6 @@
 import {promisify} from 'util';
 import resolve from 'resolve';
-import * as sass from 'sass';
+import * as sass from 'node-sass';
 import {dirname} from 'path';
 import * as fs from 'fs';
 import {createFilter} from '@rollup/pluginutils';
--- a/src/types.ts
+++ b/src/types.ts
@@ -1,4 +1,4 @@
-import {LegacyOptions, types} from 'sass';
+import {types} from 'node-sass';
 
 export interface IdAndContentObject {
   id?: string,
@@ -81,7 +81,24 @@
  *
  * @todo Update this if/when we update to the new sass API.
  */
-export type SassOptions = LegacyOptions<'async'>;
+export interface SassOptions {
+  data?: string,
+  file?: string,
+  functions?: SassFunctionsObject,
+  importer?: SassImporter | SassImporter[],
+  includePaths?: string[],
+  indentType?: 'space' | 'tab',
+  indentWidth?: number,
+  indentedSyntax?: boolean,
+  linefeed?: string,
+  omitSourceMapUrl?: boolean,
+  outFile?: string,
+  outputStyle?: 'compressed' | 'expanded',
+  sourceMapContents?: boolean,
+  sourceMapEmbed?: boolean,
+  sourceMapRoot?: string,
+  sourceMap?: boolean | string | undefined
+}
 
 /**
  * Rollup's `AssetInfo` bundle type.
