enableScss()v4.0.162
A function that modifies the default bundler configuration to make the necessary changes to support SASS/SCSS.
remotion.config.tsimport {Config } from "@remotion/cli/config"; import {enableScss } from "@remotion/enable-scss";Config .overrideBundlerConfig ((currentConfiguration ) => { returnenableScss (currentConfiguration ); });
If you want to make other configuration changes, you can do so by doing them reducer-style:
remotion.config.tsimport {Config } from "@remotion/cli/config"; import {enableScss } from "@remotion/enable-scss";Config .overrideBundlerConfig ((currentConfiguration ) => { returnenableScss ({ ...currentConfiguration , // Make other changes }); });
Compatibility
| Servers | Environments | |||||
|---|---|---|---|---|---|---|
Node.js | Bun | Serverless Functions | ||||
Build step | Build step | |||||