How to create build for project and a addon


#1

I’m creating an addon and i’m linking it with my project using npm link…but my addon is a seperate project if i create build for my project it doesn’t works for my addon package…i want to do a separate build for my addon also… Is there any way to do it in single build??


#2

Could you clarify what you mean by this? You can always run an ember build from within the addon, but that builds the dummy app. The whole idea of the Ember build system is that you build an app which smashes together all its dependency code into vendor.js so it’s all together. “Building” an addon separately doesn’t make a lot of sense in this context. Unless I’m misunderstanding what you’re going for.


#3

Maybe you are looking for isDevelpingAddon?