Open robodna opened 1 week ago
Both the installation instructions and the build process are a bit outdated at this point. You should just install Luxon from NPM and you will get ES6.
What I forgot to add... yes it looks like the ES6 minified build is broken, because the class names are minified.
Ok thanks. I'll try installing using NPM again but for some reason, it did not 'find' the luxon library using autocomplete in VisualCode when I tried to import it... not being detected in the nodes packages folder for some reason...
Thanks!
I installed the @types/luxon and all is working in ES6 now.
Followed the ES6 install instructions by downloading the luxon.min.js and DateTime.fromSeconds did not work. Using the non-minified version did work.
Why does the ES6 install not use npm to install? Do I manually re-download the luxon file each time there is an update?