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

@arcana/sass-loaders-preset

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@arcana/sass-loaders-preset

Sass and Css Loaders preset webpack plugin

  • 0.1.0-alpha.2
  • unpublished
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Sass Loaders Preset

Plug n Play Configuration for webpack for loading Sass/Css Files.

This plugin generates webpack loader configuration for supporting Sass/Css with Postcss.

Usage

  • Install plugin yarn add @arcana/sass-loaders-preset.
  • Add to your webpack config with your other plugins.
const SassLoaders = require('@arcana/sass-loaders-preset');

module.exports = {
  plugins: [new SassLoaders()],
};
  • Use the same code for both of your configs - production and development.

  • Remove Image Loader configuration if present. The plugin will automatically handles sass/css files with css/style loader and sass loader with MiniCssExtractPlugin at production.

  • For SSR add option { server: true} to load css server side.

const SassLoaders = require('@arcana/sass-loaders-preset');

module.exports = {
  plugins: [new SassLoaders({ server: true })],
};

Keywords

FAQs

Package last updated on 08 Dec 2018

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