ng-packagr extend rollup config
Asked Answered
R

0

6

I have a Custom Angular Library and I would like to customize the build of that Library using postcss.

Like the Angular Libraries are built using ng-packagr, I need to extend the rollup.config.js of ng-packagr to customize the build of my Library.

In fact, I would like to use postcss through rollup like is used here: https://www.learnwithjason.dev/blog/learn-rollup-css/

I saw in the documentation of ng-packagr that is possible to extend the rollup config: https://github.com/ng-packagr/ng-packagr/blob/master/docs/DESIGN.md#rollup-config

However, I didn't find any documentation or example on how to do that.

Does anybody know how to do that?

Can anybody provide me an example?

Thanks in advance.

Ravenna answered 31/3, 2020 at 16:54 Comment(4)
Can you add more information what you tried to achieve what you are looking for. Any demo that you have done. If any please share the details so that I can contribute. I didn't the full context what you are looking for here.Fenderson
Hi @AnoopRajasekharaWarrier , thanks for your response. I have just updated my question. Also, I have a more generic question that is related to this topic here: #60937607 Any help is more than welcome. Thanks !!!Ravenna
I commented here which is your duplicate question #60937607Strength
Could you say if you found a solution?Brighten

© 2022 - 2024 — McMap. All rights reserved.