Skip to content

Commit f9cbb3e

Browse files
committed
fix(plugin): more gltfPath
1 parent de38771 commit f9cbb3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/plugin/src/generators/gltf/files/__fileName__.ts__tmpl__

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import { NgtsPerspectiveCamera } from 'angular-three-soba/cameras';<% } %><% if
1616
import { NgtsOrthographicCamera } from 'angular-three-soba/cameras';<% } %>
1717
<% if (useImportAttribute) { %>
1818
// @ts-expect-error - import .glb/.gltf file
19-
import <%= gltfName %> from '.<%= gltfPath %>' with { loader: 'file' };
19+
import <%= gltfName %> from '<%= gltfPath %>' with { loader: 'file' };
2020
<% } %>
2121
<% if (preload) { %>
2222
injectGLTF.preload(() => <% if (useImportAttribute) { %><%= gltfName %><% } else { %>'<%= gltfPath %>'<% } %>);

0 commit comments

Comments
 (0)