Skip to content

Commit f4ff978

Browse files
author
Luke Duncan
committed
fix: filter icon fields from manifests to prevent csp violations
1 parent ee3d1b5 commit f4ff978

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

rollup.config.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ ${files.map((_, index) => ` whenReady${index}()`).join(',\n')}
154154
viewsContainers,
155155
typescriptServerPlugins,
156156
configurationDefaults,
157+
icons,
157158
...remainingContribute
158159
} = (manifest.contributes ?? {}) as IExtensionManifest['contributes'] & {
159160
typescriptServerPlugins: unknown // typescript extension specific field
@@ -167,6 +168,7 @@ ${files.map((_, index) => ` whenReady${index}()`).join(',\n')}
167168
browser,
168169
main,
169170
l10n,
171+
icon,
170172
extensionDependencies, // for pure-d that requires hbenl.vscode-test-explorer
171173
...remainingManifest
172174
// eslint-disable-next-line @typescript-eslint/no-explicit-any

0 commit comments

Comments
 (0)