Where we import module.exports don't work.
This commit is contained in:
@@ -92,4 +92,4 @@ var serviceWorkerRegistrationMixin = {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
module.exports = serviceWorkerRegistrationMixin;
|
export default serviceWorkerRegistrationMixin;
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user