Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions defaultmodules/calendar/debug.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@
* use this script with `node debug.js` to test the fetcher without the need
* of starting the MagicMirror² core. Adjust the values below to your desire.
*/
import { createRequire } from "node:module";

const require = createRequire(import.meta.url);
require("../../js/alias-resolver.js");
import "../../js/alias-resolver.js";

const { default: Log } = await import("logger");
const { CalendarFetcher } = await import("./calendarfetcher.js");
Expand Down