From d47d6c08e949785ecaf6628a5804e7f2bfde340e Mon Sep 17 00:00:00 2001 From: Paul Gschwendtner Date: Tue, 22 Oct 2019 11:53:54 +0200 Subject: [PATCH] build: re-enable release output validation for source maps Since we landed 230fd2f6ac2b0647c6c577583d407ea22da522d8, we should be able to re-enable our output validation check that ensures that there are no source map references in inlined styles. --- tools/release/release-output/output-validations.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tools/release/release-output/output-validations.ts b/tools/release/release-output/output-validations.ts index f79c960a389a..ef4e8606b342 100644 --- a/tools/release/release-output/output-validations.ts +++ b/tools/release/release-output/output-validations.ts @@ -25,9 +25,7 @@ export function checkReleaseBundle(bundlePath: string): string[] { const failures: string[] = []; if (inlineStylesSourcemapRegex.exec(bundleContent) !== null) { - // TODO(devversion): check if we can omit the invalid source-map references - // for built components. For now this check is temporarily disabled. - // failures.push('Found sourcemap references in component styles.'); + failures.push('Found sourcemap references in component styles.'); } if (externalReferencesRegex.exec(bundleContent) !== null) {