@advclb/sassdoc-loader
v0.1.0
Published
the only up-to-date sassdoc loader for webpack
Downloads
34
Readme
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
Copyright
Guo Yunhe
License
GNU General Public License version 3