@reactea/sass
TypeScript icon, indicating that this package has built-in type declarations

1.0.0-alpha.3 • Public • Published

@reactea/sass

A plugin for @reactea/config that adds support for SASS stylesheets.

This handles .module.scss, .module.sass, .scss, and .sass files.

Installation

npm install --save-dev @reactea/sass

Usage

In your webpack.config.js file, import @reactea/sass and call the default export function to obtain the configuration for SASS.

webpack.config.js:

import { compileConfig, createConfig, extendConfig } from "@reactea/config";
import sassConfig from "@reactea/sass";

const reactea = createConfig();

extendConfig(reactea, baseConfig());
extendConfig(reactea, sassConfig());

const config = compileConfig(reactea);

export default config;

src/react-app-env.d.ts:

/// <reference types="@reactea/sass/env" />

Readme

Keywords

none

Package Sidebar

Install

npm i @reactea/sass

Weekly Downloads

1

Version

1.0.0-alpha.3

License

ISC

Unpacked Size

5.71 kB

Total Files

6

Last publish

Collaborators

  • e9x