0.2.4 • Published 12 months ago

@cheese-grinder/stencil-sass-alias v0.2.4

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

A plugin for StencilJS to add aliasied path in SASS and SCSS files


Install

npm install @cheese-grinder/stencil-sass-alias --save-dev

Usage

// stencil.config.ts

import { sassAlias } from '@cheese-grinder/stencil-sass-alias';
import { Config } from '@stencil/core';
import { sass } from '@stencil/sass';

export const config: Config = {
  plugins: [
    sass({
      importer: [
        sassAlias()
      ]
    })
  ]
};

Customization

The plugin takes one argument, which is a object with the following properties.

propertydefaultoptional
pathsrctrue
alias@scsstrue

Contributing

Thanks for your interest in contributing! Please take a moment to read up on our guidelines for contributing. Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

0.2.4

12 months ago

0.2.3

12 months ago

0.2.2

1 year ago

0.2.1

1 year ago

0.2.0

1 year ago

0.1.0

1 year ago