We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de38771 commit f9cbb3eCopy full SHA for f9cbb3e
libs/plugin/src/generators/gltf/files/__fileName__.ts__tmpl__
@@ -16,7 +16,7 @@ import { NgtsPerspectiveCamera } from 'angular-three-soba/cameras';<% } %><% if
16
import { NgtsOrthographicCamera } from 'angular-three-soba/cameras';<% } %>
17
<% if (useImportAttribute) { %>
18
// @ts-expect-error - import .glb/.gltf file
19
-import <%= gltfName %> from '.<%= gltfPath %>' with { loader: 'file' };
+import <%= gltfName %> from '<%= gltfPath %>' with { loader: 'file' };
20
<% } %>
21
<% if (preload) { %>
22
injectGLTF.preload(() => <% if (useImportAttribute) { %><%= gltfName %><% } else { %>'<%= gltfPath %>'<% } %>);
0 commit comments