@cheese-grinder/stencil-sass-alias
v0.2.4
Published
StencilJS sass alias plugin
Downloads
12
Readme
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.
| property | default | optional |
| -------- | :-----: | :------: |
| path | src
| true
|
| alias | @scss
| true
|
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.