vite-asset-collector
vite-asset-collector copied to clipboard
[FEATURE] Add option to inline css assets
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.