5.2.9 • Published 21 days ago
oc-vite v5.2.9
This is a modification of Vite that allows for having external assets when importing (without inlining) when on library mode.
By default, build.assetsInlineLimit
is ignored when build.lib
is enabled, which makes sense for actual libraries. But in the case of oc, we want to keep it as externals, so then they can be served dynamically at runtime using renderBuiltUrl.
This repository is not even forking the library, and will, at publish time, just download the repo, modify the line responsible of allowing this, and then just build and publish.