@visulima/packem
Version:
A fast and modern bundler for Node.js and TypeScript.
9 lines (8 loc) • 537 B
TypeScript
import type { Pail } from "@visulima/pail";
import type { PluginContext } from "rollup";
import type { SassApiType, SassLoaderContext, SassLoaderOptions } from "../types.d.ts";
/**
* Derives the sass options from the loader context and normalizes its values with sane defaults.
*/
declare const getSassOptions: (loaderContext: SassLoaderContext, logger: Pail, warn: PluginContext["warn"], options: SassLoaderOptions, content: string, useSourceMap: boolean, apiType: SassApiType) => Promise<SassLoaderOptions>;
export = getSassOptions;