We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a2262ce commit 9f6dd23Copy full SHA for 9f6dd23
src/select.ts
@@ -22,7 +22,10 @@ export function selectBlock(
22
23
// script
24
if (query.type === `script`) {
25
- const script = (descriptor as any).scriptCompiled
+ // FIXME: #1723
26
+ // I still don't know when & why `scriptCompiled` would be empty
27
+ // need to work out a better fix later
28
+ const script = (descriptor as any).scriptCompiled || descriptor.script
29
if (appendExtension) {
30
loaderContext.resourcePath += '.' + (script.lang || 'js')
31
}
0 commit comments