Add .js extension to imports
This commit is contained in:
parent
58364c82d2
commit
5363e92822
|
@ -1,5 +1,5 @@
|
|||
import { Clock } from "three";
|
||||
import { PlayerObject } from "./model";
|
||||
import { PlayerObject } from "./model.js";
|
||||
|
||||
export interface IAnimation {
|
||||
play(player: PlayerObject, time: number): void;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { EventDispatcher, MOUSE, OrthographicCamera, PerspectiveCamera, Quaternion, Spherical, Vector2, Vector3 } from "three";
|
||||
import { SkinViewer } from "./viewer";
|
||||
import { SkinViewer } from "./viewer.js";
|
||||
|
||||
const STATE = {
|
||||
NONE: - 1,
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
export * from "./model";
|
||||
export * from "./viewer";
|
||||
export * from "./orbit_controls";
|
||||
export * from "./animation";
|
||||
export * from "./model.js";
|
||||
export * from "./viewer.js";
|
||||
export * from "./orbit_controls.js";
|
||||
export * from "./animation.js";
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { NearestFilter, PerspectiveCamera, Scene, Texture, Vector2, WebGLRenderer } from "three";
|
||||
import { RootAnimation } from "./animation";
|
||||
import { PlayerObject } from "./model";
|
||||
import { RootAnimation } from "./animation.js";
|
||||
import { PlayerObject } from "./model.js";
|
||||
import { isSlimSkin, loadCapeToCanvas, loadSkinToCanvas } from "skinview-utils";
|
||||
|
||||
export interface SkinViewerOptions {
|
||||
|
|
Loading…
Reference in New Issue