Skip to content

Commit f5c1617

Browse files
authored
Fix ES module import to use .js extension (#33)
The import of './common' was missing the .js extension, which is required in strict ES module environments. While TypeScript and development tools handle this gracefully, the compiled output fails when consumed by other ES module projects. This fixes the import to use './common.js' as required by ES module spec.
1 parent 3e44b02 commit f5c1617

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/utils/axios-client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import axios from "axios";
2-
import { isInIFrame } from "./common";
2+
import { isInIFrame } from "./common.js";
33
import { v4 as uuidv4 } from "uuid";
44

55
export class Base44Error extends Error {

0 commit comments

Comments
 (0)