enableSkia()
A function that modifies the default Webpack configuration to make the necessary changes to support Skia.
remotion.config.tsts
import {Config } from "remotion";import {enableSkia } from "@remotion/skia/enable";Config .overrideWebpackConfig ((currentConfiguration ) => {returnenableSkia (currentConfiguration );});
remotion.config.tsts
import {Config } from "remotion";import {enableSkia } from "@remotion/skia/enable";Config .overrideWebpackConfig ((currentConfiguration ) => {returnenableSkia (currentConfiguration );});
note
Prior to v3.3.39
, the option was called Config.Bundling.overrideWebpackConfig()
.
If you want to make other configuration changes, you can do so by doing them reducer-style:
remotion.config.tsts
import {Config } from "remotion";import {enableSkia } from "@remotion/skia/enable";Config .overrideWebpackConfig ((currentConfiguration ) => {constnewConfig =enableSkia (currentConfiguration );return {...newConfig ,// Make other changes};});
remotion.config.tsts
import {Config } from "remotion";import {enableSkia } from "@remotion/skia/enable";Config .overrideWebpackConfig ((currentConfiguration ) => {constnewConfig =enableSkia (currentConfiguration );return {...newConfig ,// Make other changes};});
note
Prior to v3.3.39
, the option was called Config.Bundling.overrideWebpackConfig()
.
See the setup to see full instructions on how to setup React Native Skia in Remotion.