We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 640cc14 commit 0660683Copy full SHA for 0660683
1 file changed
src/utilities/loggerScript.js
@@ -8,7 +8,11 @@
8
// |_| | |_ //
9
// Website: https://feascript.com/ \__| //
10
11
-import log from '../../third-party/loglevel.min.js';
+// Import loglevel - since it's using CommonJS exports, we need to import it as a namespace
12
+import * as logModule from '../../third-party/loglevel.min.js';
13
+
14
+// Access the main log object
15
+const log = logModule.default || logModule;
16
17
// Configure default log level (can be overridden)
18
log.setDefaultLevel(log.levels.INFO);
0 commit comments