Skip to content

Commit df98908

Browse files
fix: imports for es build
1 parent 723e90e commit df98908

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

projects/angular-stl-model-viewer/src/lib/angular-stl-model-viewer.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ import {
1414

1515
import * as THREE from 'three'
1616

17-
import { STLLoader } from 'three/examples/jsm/loaders/STLLoader'
18-
import { OrbitControls } from 'three/examples/jsm/controls/OrbitControls'
17+
import { STLLoader } from 'three/examples/jsm/loaders/STLLoader.js'
18+
import { OrbitControls } from 'three/examples/jsm/controls/OrbitControls.js'
1919

2020
import { Vector3 } from 'three'
2121

projects/examples/src/app/app.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Component } from '@angular/core'
2-
import { OrbitControls } from 'three/examples/jsm/controls/OrbitControls'
2+
import { OrbitControls } from 'three/examples/jsm/controls/OrbitControls.js'
33

44
import * as THREE from 'three'
55

0 commit comments

Comments
 (0)