Quantcast
Viewing all articles
Browse latest Browse all 4827

Omitting Images from build

@Ben_Glancy wrote:

Hi, I have an application in ember.js and developing with the ember-cli . One of the difficulties I have encountered is trying to accommodate changes for individual customers, under a configuration file.

I have the odd {{#if this}}putthistemplatein{{else}}put thattemplatein{{/if}}.
This seems to work well and speeds up development because I'm not having to keep track of previous builds and so on, I get to know the application well and look at it every day and that in itself is a catalyst.

However, every customer tends to have different images associated (catalogue and label images) and I find when I do a build (ember build -environment=production) for a particular customer (I give customers their own copy of the final production build) they are getting ALL the images from all the other customers.

Is there a way in ember-cli-build.js to NOT INCLUDE certain image paths. I know you can turn off finger printing etc for paths, but can you omit whole packages from being built?

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4827

Trending Articles