Skip to content

[Transforms] Fix other sourcemaps#8721

Merged
yuit merged 5 commits into
transformsfrom
transforms_fix-other-sourcemaps
May 24, 2016
Merged

[Transforms] Fix other sourcemaps#8721
yuit merged 5 commits into
transformsfrom
transforms_fix-other-sourcemaps

Conversation

@yuit
Copy link
Copy Markdown
Contributor

@yuit yuit commented May 20, 2016

These sourcemaps have been verified by setting up project structure and step through

@yuit yuit added the Domain: API: Transforms Relates to the public transform API label May 20, 2016

Harness.Baseline.runBaseline("Correct Sourcemap output for " + fileName, justName.replace(/\.tsx?/, ".js.map"), () => {
if (options.noEmitOnError && result.errors.length !== 0 && result.sourceMaps.length === 0) {
if ((options.noEmitOnError && result.errors.length !== 0) || result.sourceMaps.length === 0) {
Copy link
Copy Markdown
Contributor Author

@yuit yuit May 20, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should not emit ".sourcemap.txt" if we not gonna emit sourcemap

@mhegazy
Copy link
Copy Markdown
Contributor

mhegazy commented May 23, 2016

👍

@yuit yuit merged commit 65a641f into transforms May 24, 2016
@yuit yuit deleted the transforms_fix-other-sourcemaps branch May 24, 2016 15:52
@microsoft microsoft locked and limited conversation to collaborators Jun 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Domain: API: Transforms Relates to the public transform API

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants