Goal is to access and use the Rollup cache between builds using Vite builder.build()
.
buildEnvironment
function(May be in node_modules/vite/dist/node/chunks/dep-M1IYMR16.js
, or do a search in node_modules/vite/dist
for async function buildEnvironment
)
Make the following changes:
And replace
with
ViteBuilder.build
(May be in node_modules/vite/dist/node/chunks/dep-M1IYMR16.js
, or do a search in node_modules/vite/dist
for return buildEnvironment(environment)
)
Change it to:
The above isn’t working, rollupOptions.cache
still seems to be false at the end. Probably options.rollupOptions
is overriding it.