This PR is yet another attempt to support Nuxt Image, by way of layers.
It fixes the previous attempt by moving the assets cache from .nuxt/content-assets to node_modules/nuxt-content-assets/cache which should always be available, even during generate.
This implementation works in the playground, but additional scripting is needed to simulate the node_modules cache folder, as in development, the module is actually loaded from ../src.
This PR is yet another attempt to support Nuxt Image, by way of layers.
It fixes the previous attempt by moving the assets cache from
.nuxt/content-assets
tonode_modules/nuxt-content-assets/cache
which should always be available, even duringgenerate
.This implementation works in the playground, but additional scripting is needed to simulate the
node_modules
cache folder, as in development, the module is actually loaded from../src
.Closes #76