A plugin for StencilJS to add aliasied path in SASS and SCSS files
npm install @cheese-grinder/stencil-sass-alias --save-dev
// 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()
]
})
]
};
The plugin takes one argument, which is a object with the following properties.
property | default | optional |
---|---|---|
path | src |
true |
alias | @scss |
true |
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.