UNPKG

@needle-tools/engine

Version:

Needle Engine is a web-based runtime for 3D apps. It runs on your machine for development with great integrations into editors like Unity or Blender - and can be deployed onto any device! It is flexible, extensible and networking and XR are built-in.

7 lines (6 loc) 505 B
const defaultVersion = "version-1"; const version = process.env.NEEDLE_CLOUD_CLI_VERSION_OVERRIDE || defaultVersion; if (process.env.NEEDLE_CLOUD_CLI_VERSION_OVERRIDE) { console.warn(`\n⚠️ WARNING: NEEDLE_CLOUD_CLI_VERSION_OVERRIDE is set to "${process.env.NEEDLE_CLOUD_CLI_VERSION_OVERRIDE}" — using needle-cloud@${version} instead of the default needle-cloud@${defaultVersion}.\n This should only be used for hotfixes!\n`); } export const NEEDLE_CLOUD_CLI_NAME = `needle-cloud@${version}`;