🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

@advclb/sassdoc-loader

Package Overview
Dependencies
Maintainers
2
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@advclb/sassdoc-loader

the only up-to-date sassdoc loader for webpack

latest
Source
npmnpm
Version
0.1.0
Version published
Maintainers
2
Created
Source

SassDoc Loader For Webpack

The only up-to-date package.

Installation

npm i -D @advclb/sassdoc-loader

Inline usage:

import doc from "!!@advclb/sassdoc-loader!./mixins.scss";

Global usage:

// webpack.config.js
module.exports = {
  module: {
    rules: [
      {
        test: /\.s[ac]ss$/i,
        use: "@advclb/sassdoc-loader",
      },
    ],
  },
};

With configuration:

// webpack.config.js
module.exports = {
  module: {
    rules: [
      {
        test: /\.s[ac]ss$/i,
        use: [
          {
            loader: "@advclb/sassdoc-loader",
            options: {
              groups: {
                layout: "Layouts",
                helpers: "Helpers",
                undefined: "Utilities",
              },
              verbose: true,
            },
          },
        ],
      },
    ],
  },
};

See full SassDoc configuration

Guo Yunhe

License

GNU General Public License version 3

FAQs

Package last updated on 25 Mar 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts