Socket
Book a DemoInstallSign in
Socket

@cheese-grinder/stencil-sass-alias

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cheese-grinder/stencil-sass-alias

StencilJS sass alias plugin

0.2.4
latest
Source
npmnpm
Version published
Weekly downloads
418
24.78%
Maintainers
1
Weekly downloads
 
Created
Source
stencil-logo

Stencil Sass Alias

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.

Keywords

stencil

FAQs

Package last updated on 09 Aug 2024

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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.