Skip to main content

enableTailwind()v4.0.256

A function that modifies the default bundler configuration to make the necessary changes to support TailwindCSS. See the setup to see full instructions on how to setup TailwindCSS in Remotion.

remotion.config.ts
import {Config} from '@remotion/cli/config'; import {enableTailwind} from '@remotion/tailwind-v4'; Config.overrideBundlerConfig((currentConfiguration) => { return enableTailwind(currentConfiguration); });

Multiple bundler changes​

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 {enableTailwind} from '@remotion/tailwind-v4'; Config.overrideBundlerConfig((currentConfiguration) => { return enableTailwind({ ...currentConfiguration, // Make other changes }); });

Compatibility​

ServersEnvironments
Node.js
Bun
Serverless Functions
Build step
Build step