Skip to main content
Version: 1.0.0

@farmfe/plugin-sass

Support Sass for Farm.

Installation​

npm install @farmfe/plugin-sass

Usage​

@farmfe/plugin-sass is a Rust plugin, you only need to configure its package name in plugins field in farm.config.ts.

import { UserConfig } from '@farmfe/core';

const config: UserConfig = {
plugins: ['@farmfe/plugin-sass', { /** options here */}]
}

Options​

additionalData​

  • Type: string

Add extra content to the head of each sass file, such as an @import '@/styles/variables.scss'; statement.

Extremely Fast Web Build Tool Written in Rust

Copyright Š 2024 Farm Community. Built with Docusaurus.