From baa181354f6ac081fb32a007c2200fb9fb952505 Mon Sep 17 00:00:00 2001 From: lesion Date: Mon, 23 Jan 2023 12:42:25 +0100 Subject: [PATCH] make it ESM ready --- calendar.js | 8 ++++---- package.json | 5 +++-- shows.js | 8 +++++--- 3 files changed, 12 insertions(+), 9 deletions(-) diff --git a/calendar.js b/calendar.js index 86555ec..6e8f438 100644 --- a/calendar.js +++ b/calendar.js @@ -1,5 +1,5 @@ -const ICAL = require('ical.js') -const shows = require('./shows.js') +import ICAL from 'ical.js' +import shows from './shows' function max(a, b) { if (a