UNPKG

velox3d

Version:

**velox3d** is a lightweight Three.js scene initializer with built-in best practices, clean defaults, and extensibility. It gives you a powerful 3D setup with just one function call — ideal for beginners and fast prototyping, but flexible enough for advan

8 lines (6 loc) 198 B
import fs from 'fs' import path from 'path' export function copyComponent(fromPath, toPath) { fs.mkdirSync(path.dirname(toPath), { recursive: true }) fs.copyFileSync(fromPath, toPath) }