@codingame/monaco-vscode-rollup-vsix-plugin 22.1.6 → 22.1.8
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 +1 -1
- package/rollup-vsix-plugin.js +4 -1
package/package.json
CHANGED
package/rollup-vsix-plugin.js
CHANGED
|
@@ -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 ||
|
|
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,
|