Where we import module.exports don't work.

This commit is contained in:
2020-10-22 22:15:29 +02:00
parent d49303a42a
commit 5cbb3cbe87
2 changed files with 2 additions and 2 deletions

View File

@@ -92,4 +92,4 @@ var serviceWorkerRegistrationMixin = {
} }
}; };
module.exports = serviceWorkerRegistrationMixin; export default serviceWorkerRegistrationMixin;

View File

@@ -20,7 +20,7 @@ function daysAgo(date) {
return Math.round(Math.abs((new Date() - new Date(date)) / day)); return Math.round(Math.abs((new Date() - new Date(date)) / day));
} }
module.exports = { export {
dateString, dateString,
humanReadableDate, humanReadableDate,
daysAgo daysAgo