next-video
Version:
A React component for adding video to your Next.js application. It extends both the video element and your Next app with features for automatic video optimization.
10 lines (9 loc) • 374 B
JavaScript
import process from "node:process";
import nextEnv from "@next/env";
import log from "./utils/logger.js";
import yargs from "yargs/yargs";
import * as init from "./cli/init.js";
import * as sync from "./cli/sync.js";
nextEnv.loadEnvConfig(process.cwd(), void 0, log);
yargs(process.argv.slice(2)).command(init).command(sync).demandCommand().help().argv;