enableScss()
available from v4.0.162
A function that modifies the default Webpack configuration to make the necessary changes to support SASS/SCSS.
remotion.config.tsts
import {Config } from "@remotion/cli/config";import {enableScss } from "@remotion/enable-scss";Config .overrideWebpackConfig ((currentConfiguration ) => {returnenableScss (currentConfiguration );});
remotion.config.tsts
import {Config } from "@remotion/cli/config";import {enableScss } from "@remotion/enable-scss";Config .overrideWebpackConfig ((currentConfiguration ) => {returnenableScss (currentConfiguration );});
If you want to make other configuration changes, you can do so by doing them reducer-style:
remotion.config.tsts
import {Config } from "@remotion/cli/config";import {enableScss } from "@remotion/enable-scss";Config .overrideWebpackConfig ((currentConfiguration ) => {returnenableScss ({...currentConfiguration ,// Make other changes});});
remotion.config.tsts
import {Config } from "@remotion/cli/config";import {enableScss } from "@remotion/enable-scss";Config .overrideWebpackConfig ((currentConfiguration ) => {returnenableScss ({...currentConfiguration ,// Make other changes});});