Skip to main content

enableScss()v4.0.162

A function that modifies the default bundler configuration to make the necessary changes to support SASS/SCSS.

remotion.config.ts
import { Config } from "@remotion/cli/config"; import { enableScss } from "@remotion/enable-scss"; Config.overrideBundlerConfig((currentConfiguration) => { return enableScss(currentConfiguration); });

If you want to make other configuration changes, you can do so by doing them reducer-style:

remotion.config.ts
import { Config } from "@remotion/cli/config"; import { enableScss } from "@remotion/enable-scss"; Config.overrideBundlerConfig((currentConfiguration) => { return enableScss({ ...currentConfiguration, // Make other changes }); });

Compatibility​

ServersEnvironments
Node.js
Bun
Serverless Functions
Build step
Build step

See also​