Open chim678 opened 1 year ago
further to this, I've been running
npx gltfjsx ${fullPath} --output ${outputFileName} --types
where fullPath
would be something like static\nature\gltf\x.gltf
and outputFileName
would be static\nature\gltf\x.tsx
but it always outputs into the root directory
Hello,
I am having a problem with the output parameter using the converter. Maybe I don't understand how it's supposed to work, but I expected that the converted JSX file will be located by the path declared as the output parameter. For example:
npx gltfjsx public/models/MyModel.glb --output /src/components
But it always stores it in the root directory.
Would be thankful for any hints.