initial commit
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
/**
|
||||
* Note: When using the Node.JS APIs, the config file
|
||||
* doesn't apply. Instead, pass options directly to the APIs.
|
||||
*
|
||||
* All configuration options: https://remotion.dev/docs/config
|
||||
*/
|
||||
|
||||
import { Config } from "@remotion/cli/config";
|
||||
import path from "path";
|
||||
|
||||
Config.setVideoImageFormat("jpeg");
|
||||
Config.setOverwriteOutput(true);
|
||||
|
||||
Config.overrideWebpackConfig((currentConfiguration) => {
|
||||
return {
|
||||
...currentConfiguration,
|
||||
resolve: {
|
||||
...currentConfiguration.resolve,
|
||||
alias: {
|
||||
...(currentConfiguration.resolve?.alias ?? {}),
|
||||
"@/public": path.join(process.cwd(), "public"),
|
||||
"@": path.join(process.cwd(), "src"),
|
||||
},
|
||||
},
|
||||
};
|
||||
});
|
||||
Reference in New Issue
Block a user