Skip to content

Commit

Permalink
Add missed file extensions to relative imports of model-viewer and mo…
Browse files Browse the repository at this point in the history
…del-viewer-effects (google#4707) (google#4710)
  • Loading branch information
chamby authored Mar 13, 2024
1 parent 17ebe09 commit 3acda15
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/model-viewer-effects/src/test/utilities.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*/

import {ModelViewerElement} from '@google/model-viewer';
import {Renderer} from '@google/model-viewer/lib/three-components/Renderer';
import {Renderer} from '@google/model-viewer/lib/three-components/Renderer.js';
import {EventDispatcher, HSL} from 'three';

import {getOwnPropertySymbolValue} from '../utilities.js';
Expand Down
2 changes: 1 addition & 1 deletion packages/model-viewer/src/styles/evaluators.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*/

import {normalizeUnit} from './conversions.js';
import {ExpressionNode, ExpressionTerm, FunctionNode, IdentNode, NumberNode, numberNode, OperatorNode, Percentage, Unit, ZERO} from './parsers';
import {ExpressionNode, ExpressionTerm, FunctionNode, IdentNode, NumberNode, numberNode, OperatorNode, Percentage, Unit, ZERO} from './parsers.js';

export type Evaluatable<T> = Evaluator<T>|T;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*/

import {expect} from '@esm-bundle/chai';
import {MeshStandardMaterial} from 'three/src/materials/MeshStandardMaterial';
import {MeshStandardMaterial} from 'three/src/materials/MeshStandardMaterial.js';

import {$primitivesList, $variantData, Model} from '../../../../features/scene-graph/model.js';
import {ModelViewerElement} from '../../../../model-viewer.js';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
*/

import {Material as ThreeMaterial, Mesh} from 'three';
import {GLTFReference} from 'three/examples/jsm/loaders/GLTFLoader';
import {GLTFReference} from 'three/examples/jsm/loaders/GLTFLoader.js';
import {GLTF, GLTFLoaderPlugin, GLTFParser} from 'three/examples/jsm/loaders/GLTFLoader.js';


Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {Vector2} from 'three';

import {Accessor, AlphaMode, AnimationSampler, Asset, Camera, ExtensionDictionary, Extras, MagFilter, Mesh, MinFilter, RGB, RGBA, Scene, WrapMode} from './gltf-2.0';
import {Accessor, AlphaMode, AnimationSampler, Asset, Camera, ExtensionDictionary, Extras, MagFilter, Mesh, MinFilter, RGB, RGBA, Scene, WrapMode} from './gltf-2.0.js';


export interface Sampler {
Expand Down

0 comments on commit 3acda15

Please sign in to comment.