Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@microsoft/gulp-core-build-sass

Package Overview
Dependencies
Maintainers
0
Versions
444
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@microsoft/gulp-core-build-sass

`gulp-core-build-sass` is a `gulp-core-build` subtask which processes sass and scss files using SASS, runs them through postcss, and produces commonjs/amd modules which are injected using the `@microsoft/load-themed-styles` package.

  • 4.17.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
11K
increased by3.61%
Maintainers
0
Weekly downloads
 
Created
Source

@microsoft/gulp-core-build-sass

gulp-core-build-sass is a gulp-core-build subtask which processes sass and scss files using SASS, runs them through postcss, and produces commonjs/amd modules which are injected using the @microsoft/load-themed-styles package.

npm version Build Status Dependencies

SassTask

Usage

This task invokes gulp-sass to compile source SASS files into a CommonJS module which uses load-themed-styles to load styles onto the page. If the libAmdFolder is specified globally, this task will also output an AMD module. Various templates may be specified.

Config

preamble

An optional parameter for text to include in the generated typescript file.

Default: '/* tslint:disable */'

postamble

An optional parameter for text to include at the end of the generated typescript file.

Default: '/* tslint:enable */'

sassMatch

An array of glob patterns for locating SASS files.

Default: ['src/**/*.scss']

useCSSModules

If this option is specified, ALL files will be treated as module.sass or module.scss and will automatically generate a corresponding TypeScript file. All classes will be appended with a hash to help ensure uniqueness on a page. This file can be imported directly, and will contain an object describing the mangled class names.

Default: false

dropCssFiles

If this is false, then we do not create .css files in the lib directory.

Default: false

warnOnNonCSSModules

If files are matched by sassMatch which do not end in .module.sass or .module.scss, log a warning.

Default: false

License

MIT

FAQs

Package last updated on 16 Sep 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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc