forked from hylarucoder/remotion-bar-race-chart
-
Notifications
You must be signed in to change notification settings - Fork 0
/
remotion.config.ts
28 lines (25 loc) · 888 Bytes
/
remotion.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// See all configuration options: https://remotion.dev/docs/config
// Each option also is available as a CLI flag: https://remotion.dev/docs/cli
// Note: When using the Node.JS APIs, the config file doesn't apply. Instead, pass options directly to the APIs
import { Config } from "@remotion/cli/config"
import { enableTailwind } from "@remotion/tailwind"
import path from "path"
Config.overrideWebpackConfig((config) => {
return {
...enableTailwind(config),
resolve: {
...config.resolve,
alias: {
...(config.resolve?.alias ?? {}),
"@/remotion": path.join(process.cwd(), "remotion"),
"@/styles": path.join(process.cwd(), "styles"),
"@/types": path.join(process.cwd(), "types"),
},
},
}
})
Config.setConcurrency(1)
Config.setVideoImageFormat("png")
Config.setCodec("h264")
Config.setBeepOnFinish(true)
Config.setScale(2)