Open japboy opened 11 years ago
This is entirely possible.
I would probably expose that as an integer representing a byte threshold under which an inlineable asset will be inlined, just like with the base64 image inlining.
I will need to get this change upstream in assetgraph-builder before I can release a new version though.
This feature exists in assetgraph-builder now: https://github.com/assetgraph/assetgraph-builder/blob/master/lib/transforms/buildProduction.js#L7
Is it possible?