New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

liferay-npm-bundler-loader-sass-loader

Package Overview
Dependencies
Maintainers
0
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

liferay-npm-bundler-loader-sass-loader

A liferay-npm-bundler loader that runs `sass` or `node-sass` on source files.

  • 2.32.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.1K
increased by1.8%
Maintainers
0
Weekly downloads
 
Created
Source

liferay-npm-bundler-loader-sass-loader

A liferay-npm-bundler loader that runs sass or node-sass on source files. This loader changes the file extension from anything used in source (for example .scss or .sass) to .css in the output folder, so that it can be served correctly to browsers.

Installation

npm install --save-dev liferay-npm-bundler-loader-sass-loader

Usage

In order to use this loader you must declare a rule in your module's .npmbundlerrc file:

{
	"rules": [
		{
			"test": "\\.scss$",
			"exclude": "node_modules",
			"use": ["sass-loader"]
		}
	]
}

This loader tries to find node-sass in your project by default. If it is not there, it then looks for sass (in your project, too) and, if that fails again, it will use a bundled copy of sass that is provided with the loader.

See the project's documentation for more information on how to use build rules.

FAQs

Package last updated on 10 Jan 2025

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