vite-asset-collector icon indicating copy to clipboard operation
vite-asset-collector copied to clipboard

[FEATURE] Add option to inline css assets

Open jan-vodila opened this issue 1 year ago • 5 comments

Hello,

I've came across better solution to inline css automatically via <vac:asset.vite> viewhelper, so we can use the manifest.json file and still be able to include css file as inline style.

I have added new inlineCss argument that would call AssetCollector::addInlineStyleSheet instead of AssetCollector::addStyleSheet.

Please review it and if you don't find it useful or have different opinion, feel free to reject the pull request.

jan-vodila avatar Aug 14 '23 12:08 jan-vodila