stylus-loader

  • Version 9.0.0
  • Published
  • 102 kB
  • 3 dependencies
  • MIT license

Install

npm i stylus-loader
yarn add stylus-loader
pnpm add stylus-loader

Overview

Stylus loader for webpack

Index

Functions

function stylusLoader

stylusLoader: (this: any, source: string) => Promise<void>;
  • The stylus-loader makes Stylus available to webpack modules. {LoaderContext}

    Parameter source

    source

    Returns

    {Promise} loader result

Type Aliases

type EXPECTED_ANY

type EXPECTED_ANY = import('./utils.js').EXPECTED_ANY;

    type LoaderContext

    type LoaderContext = import('webpack').LoaderContext<LoaderOptions>;

      type LoaderOptions

      type LoaderOptions = import('./utils.js').LoaderOptions;

        type Schema

        type Schema = import('schema-utils/declarations/validate').Schema;

          type StylusError

          type StylusError = import('./utils.js').StylusError;

            type StylusOptions

            type StylusOptions = import('./utils.js').StylusOptions;

              Package Files (1)

              Dependencies (3)

              Dev Dependencies (26)

              Peer Dependencies (3)

              Badge

              To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

              You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/stylus-loader.

              • Markdown
                [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/stylus-loader)
              • HTML
                <a href="https://www.jsdocs.io/package/stylus-loader"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>