You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my case, this code is in a module file which is on the shared library folder and is that folder the one that contains a lot of reusable components. That's why I use ../. You could set there whatever path to your library folder.
Is your feature request related to a problem? Please describe.
We often use nuxt in a yarn workspace based monorepo like:
When we push a commit up to Netlify and there is only changes to the
library
directory, we'll see a message like this in the deploy log:When
nuxt-app
depends on those changes tolibrary
, this means that the new build doesn't contain the fresh code change.Describe the solution you'd like
I think this could be fixed with a nuxt.config.js option to provide our own patterns to
globby
here:https://github.com/nuxt/nuxt.js/blob/853439ddf945b6ee358d5912e6e5a68009633c27/packages/cli/src/utils/generate.js#L162-L167
Since globby supports an array for its first argument, I think we could pass a value like:
Describe alternatives you've considered
We could move the
rootDir
out to the parent.The text was updated successfully, but these errors were encountered: