版本
你可以导入此常量以获取 Remotion 的当前版本。
🌐 You may import this constant to get the current version of Remotion.
只会报告 remotion 包的版本。
不能排除与其他 Remotion 包的 版本冲突。
🌐 Only the version of the remotion package will be reported.
A version conflict with other Remotion packages cannot be ruled out.
Importing VERSION from remotionimport {VERSION } from "remotion";console .log (VERSION ); // "4.0.57";
你也可以从 remotion/version 导入它,以避免导入 Remotion 及其依赖(即 react 和 react-dom):
🌐 You can also import it from remotion/version to avoid importing Remotion and its dependencies (i.e, react and react-dom):
Importing VERSION from remotion/versionimport {VERSION } from "remotion/version";console .log (VERSION ); // "4.0.57";
兼容性
🌐 Compatibility
| Browsers | Servers | Environments | |||||||
|---|---|---|---|---|---|---|---|---|---|
Chrome | Firefox | Safari | Node.js | Bun | Serverless Functions | ||||
另请参阅
🌐 See also