init commit
This commit is contained in:
38
remotion/node_modules/@remotion/renderer/dist/options/public-dir.js
generated
vendored
Normal file
38
remotion/node_modules/@remotion/renderer/dist/options/public-dir.js
generated
vendored
Normal file
@@ -0,0 +1,38 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.publicDirOption = void 0;
|
||||
const jsx_runtime_1 = require("react/jsx-runtime");
|
||||
const cliFlag = 'public-dir';
|
||||
let currentPublicDir = null;
|
||||
exports.publicDirOption = {
|
||||
name: 'Public Directory',
|
||||
cliFlag,
|
||||
description: () => {
|
||||
return (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["Define the location of the", ' ', jsx_runtime_1.jsx("a", { href: "/docs/terminology/public-dir", children: jsx_runtime_1.jsx("code", { children: "public/ directory" }) }),
|
||||
". If not defined, Remotion will assume the location is the `public` folder in your Remotion root."] }));
|
||||
},
|
||||
ssrName: 'publicDir',
|
||||
docLink: 'https://www.remotion.dev/docs/terminology/public-dir',
|
||||
getValue: ({ commandLine }) => {
|
||||
if (commandLine[cliFlag] !== undefined) {
|
||||
return {
|
||||
source: 'cli',
|
||||
value: commandLine[cliFlag],
|
||||
};
|
||||
}
|
||||
if (currentPublicDir !== null) {
|
||||
return {
|
||||
source: 'config',
|
||||
value: currentPublicDir,
|
||||
};
|
||||
}
|
||||
return {
|
||||
source: 'default',
|
||||
value: null,
|
||||
};
|
||||
},
|
||||
setConfig: (value) => {
|
||||
currentPublicDir = value;
|
||||
},
|
||||
type: '',
|
||||
};
|
||||
Reference in New Issue
Block a user