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 e341efd commit f16ebf0Copy full SHA for f16ebf0
src/extension-tools.ts
@@ -232,7 +232,12 @@ export async function getExtensionResources(
232
fs: typeof nodeFs,
233
cwd: string
234
): Promise<ExtensionResource[]> {
235
- if (manifest.browser != null || manifest.contributes?.typescriptServerPlugins != null) {
+ if (
236
+ manifest.browser != null ||
237
+ manifest.contributes?.typescriptServerPlugins != null ||
238
+ (manifest.contributes?.notebookRenderer != null &&
239
+ manifest.contributes.notebookRenderer.length > 0)
240
+ ) {
241
// there is some js in the extension, it's impossible to predict which file will be used, bundle everything
242
return (
243
await glob('**/*', {
0 commit comments