3 ms·
> HTML5 also lacks a good way to package a lot of files together into a single one like .sfw's do What? Data URIs, style and script tags.
by TazeTSchnitzel 14y ago
> HTML5 also
lacks a good way to package a lot of files
together into a single one like .sfw's do
What? Data URIs, style and script tags.
- anonymfus 14y agoThis is a bad way because you loose semantic of file separation. Better way is MHT, but it was supported only in IE and Opera.
- robmcm 14y agoGoogle's closure tools can compile JS into a single file, and can also target runtimes to remove redundant code. I imagine you could get away with a single html and js file. Images could be converted to binary too in theory, I think the Cappuccino guys got something like this going. Also check out the packaged files you create for Chrome store.
- TazeTSchnitzel 14y agoYou don't need a separate JS file, there are script tags.