oklai / koala

Koala is a GUI application for less, sass and coffeescript compilation, to help web developers to the development more efficient.
http://koala-app.com
Other
3.99k stars 522 forks source link

Help - Using Javascript compress #189

Open spacelab-sp opened 10 years ago

spacelab-sp commented 10 years ago

Hi guys,

I have this config file:

http_path = "/"
css_dir = "_css"
sass_dir = "_css/_sass"
images_dir = "_img"
javascripts_dir = '_js'

output_style = :compressed
line_comments = false

Koala don't add any JS files to my project. and then, how it works, how do I include a file to compress all other JS files in this one? main.min.js > page1.js > page2.js

I'm quite confused, never done this before. If you can explain me in detail how to do, please, from the configuration, to compilation.

Thanks

zigi74 commented 10 years ago

I have the same problem as you. If anybody can help? Thanks

fracz commented 10 years ago

The same issue here. It appears that when I add the config.rb file to my project, the koala-config.json is ignored and no JS fileas are added.

oklai commented 10 years ago

If there has a config.rb file, Koala only watch the sass directory, obviously there will be some problems doing so. Temporary solution is independent add the js directory. @spacelab-x, here the wiki how to use js compress feature: https://github.com/oklai/koala/wiki/JS-CSS-minify-and-combine .

JeffB-14 commented 10 years ago

are there plans to update Koala to watch other directories from the config.rb file?

oklai commented 10 years ago

Hi @JeffB-14 Please follow this issus #259