Skip to content

Commit aaa6c5e

Browse files
authored
fix: drop use of private _build flag (#409)
1 parent 233d57e commit aaa6c5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bundle-client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export function registerClientBundle(
2626

2727
if (failed.length) {
2828
const msg = `Nuxt Icon could not fetch the icon data for client bundle:\n${failed.map(f => ' - ' + f).join('\n')}`
29-
if (ctx.nuxt.options._build)
29+
if (!ctx.nuxt.options.dev)
3030
throw new Error(msg)
3131
else
3232
logger.warn(msg)

0 commit comments

Comments
 (0)