We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23696c8 commit f49cf30Copy full SHA for f49cf30
src/core/main.ts
@@ -529,7 +529,9 @@ async function linkSrcToDescriptor(
529
setSrcDescriptor(srcFile.replace(/\?.*$/, ''), descriptor, scoped)
530
} else {
531
// TODO: unplugin implements context.resolve()
532
- pluginContext.error(new Error('src attribute is supported on Rollup only.'))
+ pluginContext.error(
533
+ new Error(`src attribute is not supported in ${pluginContext.framework}`),
534
+ )
535
}
536
537
0 commit comments