mirror of
https://github.com/Swetrix/swetrix-js.git
synced 2025-03-14 09:55:10 +00:00
Use .js import extensions to fix failing Vite imports
This commit is contained in:
@ -11,7 +11,7 @@ import {
|
||||
getUTMTerm,
|
||||
getUTMContent,
|
||||
getPath,
|
||||
} from './utils'
|
||||
} from './utils.js'
|
||||
|
||||
export interface LibOptions {
|
||||
/**
|
||||
|
@ -9,7 +9,7 @@ import {
|
||||
defaultActions,
|
||||
IErrorEventPayload,
|
||||
IPageViewPayload,
|
||||
} from './Lib'
|
||||
} from './Lib.js'
|
||||
|
||||
export let LIB_INSTANCE: Lib | null = null
|
||||
|
||||
|
Reference in New Issue
Block a user