Skip to content

Commit 4b48b96

Browse files
devversionmmalerba
authored andcommitted
build: re-enable release output validation for source maps (#17462)
Since we landed 230fd2f, we should be able to re-enable our output validation check that ensures that there are no source map references in inlined styles.
1 parent af68f57 commit 4b48b96

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tools/release/release-output/output-validations.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,7 @@ export function checkReleaseBundle(bundlePath: string): string[] {
2525
const failures: string[] = [];
2626

2727
if (inlineStylesSourcemapRegex.exec(bundleContent) !== null) {
28-
// TODO(devversion): check if we can omit the invalid source-map references
29-
// for built components. For now this check is temporarily disabled.
30-
// failures.push('Found sourcemap references in component styles.');
28+
failures.push('Found sourcemap references in component styles.');
3129
}
3230

3331
if (externalReferencesRegex.exec(bundleContent) !== null) {

0 commit comments

Comments
 (0)