@@ -27,7 +27,7 @@
* SPINE RUNTIMES, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*****************************************************************************/
-import { AttachmentCacheData, Spine } from './Spine';
+import { AttachmentCacheData, Spine } from './Spine.js';
import type { Batch, Batcher, BLEND_MODES, DefaultBatchableMeshElement, Matrix, Texture, Topology } from 'pixi.js';
@@ -42,7 +42,7 @@ import {
Ticker,
ViewContainer,
} from 'pixi.js';
-import { ISpineDebugRenderer } from './SpineDebugRenderer';
+import { ISpineDebugRenderer } from './SpineDebugRenderer.js';
import {
AnimationState,
AnimationStateData,
@@ -28,7 +28,7 @@
import { Container, Graphics, Text } from 'pixi.js';
-import { Spine } from './Spine';
+import { Spine } from './Spine.js';
ClippingAttachment,
MeshAttachment,
@@ -36,8 +36,8 @@ import {
type Renderer,
type RenderPipe,
-import { BatchableSpineSlot } from './BatchableSpineSlot';
+import { BatchableSpineSlot } from './BatchableSpineSlot.js';
import { MeshAttachment, RegionAttachment } from '@esotericsoftware/spine-core';
const spineBlendModeMap: Record<number, BLEND_MODES> = {
@@ -37,7 +37,7 @@ import {
Resolver,
TextureSource
-import { SpineTexture } from '../SpineTexture';
+import { SpineTexture } from '../SpineTexture.js';
import { TextureAtlas } from '@esotericsoftware/spine-core';
import type { AssetExtension, Loader, ResolvedAsset, Texture, UnresolvedAsset } from 'pixi.js';
ExtensionType,
Shader
-import { DarkTintBatchGeometry } from './DarkTintBatchGeometry';
-import { DarkTintShader } from './DarkTintShader';
+import { DarkTintBatchGeometry } from './DarkTintBatchGeometry.js';
+import { DarkTintShader } from './DarkTintShader.js';
let defaultShader: Shader | null = null;
@@ -39,7 +39,7 @@ import {
roundPixelsBitGl,
-import { darkTintBit, darkTintBitGl } from './darkTintBit';
+import { darkTintBit, darkTintBitGl } from './darkTintBit.js';
export class DarkTintShader extends Shader {
constructor (maxTextures: number) {