@remotion/renderer
Version:
Render Remotion videos using Node.js or Bun
29 lines (28 loc) • 880 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.disableGitSourceOption = void 0;
const DEFAULT = false;
const cliFlag = 'disable-git-source';
exports.disableGitSourceOption = {
cliFlag,
description: () => `Disables the Git Source being connected to the Remotion Studio. Clicking on stack traces and certain menu items will be disabled.`,
docLink: 'https://remotion.dev/docs/bundle',
getValue: ({ commandLine }) => {
if (commandLine[cliFlag]) {
return {
source: 'cli',
value: commandLine[cliFlag],
};
}
return {
source: 'default',
value: DEFAULT,
};
},
name: 'Disable Git source',
setConfig: () => {
throw new Error('Not implemented');
},
ssrName: 'disableGitSource',
type: false,
};