yields / component-bundle

component-bundle(1)
37 stars 4 forks source link

[Question] Append component version in bundle path #13

Closed sankargorthi closed 10 years ago

sankargorthi commented 10 years ago

I'd like to put the build result and its assets in

\bundles
    \app\1.2.1\
        build.js
        build.css
        images\
        ...
    \home\2.1.1\
        build.js
        build.css

etc. where the version is defined in the dependency's component.json

I've been looking into the bundle code and the builder's code. Is this possible with a plugin (I don't think it is)?

Am I better off trying this with builder.js directly?

stephenmathieson commented 10 years ago

Not sure I understand the purpose here, so without a use case I don't see this addition landing.

sankargorthi commented 10 years ago

@stephenmathieson It's required for our product to release bundles by version when delivering to QA. This is intended to be a custom implementation that I'll host in our own organization. If you feel this is something other projects might use, please do consider it. I'm fine with this being closed. I was able to figure out how to do this in component-bundle and what exists now works for us.