Im trying to include this library into my electron app and it works when I start my electron app in development mode (electron-forge start). But when I build my app using electron-builder --win I get an error saying Date.today is not a function.
I included the library in my index.html like so
<script type="text/javascript" src="js/Datejs/build/date-de-DE.js"></script>