@tbela99/css-parser
    Preparing search index...

    Function transformFile

    • transform css file

      Parameters

      • file: string

        url or path

      • options: TransformOptions = {}

        Example:


        import {transformFile} from '@tbela99/css-parser/web';

        // remote file
        let result = await transformFile('https://docs.deno.com/styles.css');
        console.log(result.code);

        // local file
        result = await transformFile('./css/styles.css');
        console.log(result.code);

      Returns Promise<TransformResult>