williamtroup / Calendar.js

📅 A javascript drag & drop event calendar, that is fully responsive and compatible with all modern browsers.
https://calendar-js.com
MIT License
478 stars 33 forks source link

Building the library #225

Closed redcubie closed 5 months ago

redcubie commented 5 months ago

Please add instructions on how to build the library (generate the contents of dist), so local changes can be implemented.

williamtroup commented 5 months ago

The dist folder is made of the minimised and stripped down versions of calendar.js in src. You can use the Closure Compiler for dist > calendar.js, and the same for calendar.min.js.

sinavir commented 2 months ago

Hello, thank you for your amazing work. Can you provide the exact command to generate the dist folder ?

williamtroup commented 2 months ago

I did use a tool for this, but it stopped working the way I wanted.

So, I use the following tools: https://closure-compiler.appspot.com/home https://iblogbox.com/devtools/closure/

The CSS is built automatically using the SASS watcher you ca get for VS Code.

The CSS is minimized using:

https://www.minifier.org/

Hope this helps.

Thanks Will