@codingame/monaco-vscode-rollup-vsix-plugin 22.1.6 → 22.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-rollup-vsix-plugin",
3
- "version": "22.1.6",
3
+ "version": "22.1.7",
4
4
  "keywords": [],
5
5
  "author": {
6
6
  "name": "CodinGame",
@@ -8385,7 +8385,10 @@ async function extractResourcesFromExtensionManifestContribute(contribute, fs, c
8385
8385
  return resources.filter((resource, index, list) => !resource.startsWith('$(') && !list.slice(0, index).some((o) => o === resource));
8386
8386
  }
8387
8387
  async function getExtensionResources(manifest, fs, cwd) {
8388
- if (manifest.browser != null || manifest.contributes?.typescriptServerPlugins != null) {
8388
+ if (manifest.browser != null ||
8389
+ manifest.contributes?.typescriptServerPlugins != null ||
8390
+ (manifest.contributes?.notebookRenderer != null &&
8391
+ manifest.contributes.notebookRenderer.length > 0)) {
8389
8392
  // there is some js in the extension, it's impossible to predict which file will be used, bundle everything
8390
8393
  return (await outExports.glob('**/*', {
8391
8394
  fs: fs,