Open mklabs opened 12 years ago
manifest generation could be done via https://github.com/jamesgpearce/confess
Ohhh yeah, definitely in my todo list. grunt has built-in support and good examples of tasks on how to drive phantomjs, so I guess this could be nicely integrated. Added! (for next version)
Have you guys had a look at https://github.com/One-com/assetgraph-builder ? You seem to be planning pretty much the same features, so it might be beneficial to take a look at it, especially if you are going for a dom-based build.
@Munter Yep, I stumbled across https://github.com/One-com/assetgraph. Love the project, the approach of taking the dom as the primary source of information is really great and has immense potential. I just have a few issues with jsdom right now, especially for windows users.
Keep up the good work. The dom-based build may benefit from your excellent work.
0.1
port to grunt 0.3| #16package as a grunt plugin| #17udpate docs with latest changes and new tasks help / init / html#20gruntfile task loading needs to be put in tasks/ dir| #22html min task| #23right now only aggressive minification (but options can be overriden withhtml.options
)add three "level" of minification: compress (default), buildkit and basics.img task,| #25.jpg
through jpegtran,.png
through optipng.build targets/ env #21slightly more test (checking original files are untouched, etc.)staging/output config: Remove the hacky staging/output dir workaround in config| #26If plugin is installed locally, have the user manually install the dep.
first time dom task is run -> print user message to install jsdom if not yet done
If plugin installed globally, more problematic. still have to figure out how to do this.
0.2