We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ac682fd commit 3190254Copy full SHA for 3190254
packages/nuxt/src/core/builder.ts
@@ -61,7 +61,7 @@ function watch (nuxt: Nuxt) {
61
async function bundle (nuxt: Nuxt) {
62
try {
63
const { bundle } = typeof nuxt.options.builder === 'string'
64
- ? await importModule(nuxt.options.builder, { paths: nuxt.options.rootDir })
+ ? await importModule(nuxt.options.builder, { paths: [nuxt.options.rootDir, nuxt.options.workspaceDir, import.meta.url] })
65
: nuxt.options.builder
66
67
return bundle(nuxt)
0 commit comments