[go: up one dir, main page]

Skip to main content

@remotion/enable-scss

This package provides a Webpack override for enabling SCSS/SASS with Remotion..

Installation

Install @remotion/enable-scss as well as TailwindCSS dependencies.

This assumes you are currently using v4.0.434 of Remotion.
Also update remotion and all `@remotion/*` packages to the same version.
Remove all ^ character in front of the version numbers of it as it can lead to a version conflict.

warning

Pay attention to install exactly these versions.
Newer versions may not work.

Usage

Override the Webpack config by using enableScss().

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

APIs