Fix sanitizer call

Fixes #247432
This commit is contained in:
Matt Bierner 2025-05-22 00:23:05 -07:00
parent 1d7ad01f17
commit b6f2887eb0
2 changed files with 4 additions and 1 deletions

View File

@ -75,6 +75,9 @@ module.exports.run = async function (config, args, didBuild) {
const resolvedOptions = {
entryPoints: config.entryPoints,
outdir,
logOverride: {
'import-is-undefined': 'error',
},
...(config.additionalOptions || {}),
};

View File

@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import * as DOMPurify from 'dompurify';
import DOMPurify from 'dompurify';
import MarkdownIt from 'markdown-it';
import type * as MarkdownItToken from 'markdown-it/lib/token';
import type { ActivationFunction } from 'vscode-notebook-renderer';