componentjs / spec

Component specs
34 stars 4 forks source link

.blobs #38

Closed jonathanong closed 10 years ago

jonathanong commented 10 years ago

or something? do people actually do this?

https://github.com/TooTallNate/require-blob

yields commented 10 years ago

i use it :)

what would .blobs do ? just list them ?

IMHO they should be compiled and added to .scripts like regular scripts, component shouldn't do those things.

jonathanong commented 10 years ago

like templates, compiled into a base64 string as a .js file like in https://github.com/TooTallNate/require-blob

jonathanong commented 10 years ago

Wait you don't want component's builder to convert this? I think might agree since you might want it in different formats

yields commented 10 years ago

yeah :) IMHO the less a tool does the better.

dominicbarnes commented 10 years ago

Agreed, I think this makes more sense as a 3rd-party plugin, not part of core. (at least not atm)

Swatinem commented 10 years ago

:+1: on making it a plugin.

jonathanong commented 10 years ago

okay cool. don't even know if any plugins already exist. just popped into my head