mklabs / node-build-script

MIT License
322 stars 55 forks source link

appcache generation #32

Open mklabs opened 12 years ago

mklabs commented 12 years ago

through confess -> https://github.com/jamesgpearce/confess

the built-in qunit task is probably a good example on how to write a grunt task that drives a phantomjs instance.

confess also comes with two super hot task in addition to the appcache one:

there would be three additional tasks (or maybe a single one with 3 subtargets), three basic facades to the underlying phantomjs/confess combo:

paulirish commented 12 years ago

cssprops only captures what is in use at that early state.. so if i haven't triggered some modal dialog, it'll think i don't need those CSS properties or whatever... so i think we could leave that aspect out. :)

:+1: to the rest

mklabs commented 12 years ago

Thanks for the heads up Paul. It's true that a dialog without its CSS wouldn't be that great.. :) No csspros / cssclean task then, we'll focus on the appcache / perf one.

mklabs commented 12 years ago

Based on h5bp/ant-build-script#59 discussion, maybe the manifest task won't be implemented into the node-build-script, directly.

But I really do want the grunt tasks for confess, so I'll probably work on this in a separate plugin (unless someone else already has a good start on this) and think about a way to integrate with the build script.