I could not find any place in the documentation that explained how to use the projectname.min.js file that lein cljsbuild once creates. Here is some possible documentation:
When you build the project, you will end up with these two files: projectname.js and projectname.min.js. The build process creates an index.html file that references projectname.js. If you want to use the minimized file, change the lines in index.html as follows:
I could not find any place in the documentation that explained how to use the projectname.min.js file that
lein cljsbuild once
creates. Here is some possible documentation:When you build the project, you will end up with these two files:
projectname.js
andprojectname.min.js
. The build process creates anindex.html
file that referencesprojectname.js
. If you want to use the minimized file, change the lines inindex.html
as follows:Also: what is the advantage of using
projectname.min.js
?