Different Asset bundles for vary pages

HI

How can I bundle different assets in vary pages according to Combine and Compression ?

I have JS libraries which conflict each other and I can’t load them together in a page.

For example I need to have:

example.com/backend/article/create




<head>

 <link href="/example.com/backend/web/css/lib1-{hash}.css" rel="stylesheet">

</head>



example.com/backend/article/update




<head>

 <link href="/example.com/backend/web/css/lib2-{hash}.css" rel="stylesheet">

</head>



Hi,

Maybe I don’t understand your question correct,

but why not just creating two (or more) different asset bundles?

One for create and one for update?

And use them in the different views?

http://www.yiiframework.com/doc-2.0/guide-structure-assets.html

http://www.yiiframework.com/doc-2.0/yii-web-assetbundle.html

Regards

Yes it’s the easy way but I want to do this through Combining and Compression process with “yii asset” command to avoid compress some libraries manually.