Skip to content

Conversation

Izhaki
Copy link

@Izhaki Izhaki commented Sep 22, 2017

As the process was removing lines from scripts, sourcemaps (and coverage reports) line mapping was faulty.

With this change, removed content (and directives) is replaced with empty lines, maintaining correct line mapping.

@Izhaki
Copy link
Author

Izhaki commented Sep 22, 2017

Related to #59

@Izhaki
Copy link
Author

Izhaki commented Sep 22, 2017

Whilst this only implements @if directive, I guess a non-negligible part of the user base will benefit from this change.

So possibly merge and iterate later, rather than waiting for the full support.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.08%) to 97.647% when pulling 1c93e10 on Izhaki:master into 704d289 on jsoverson:master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage increased (+0.08%) to 97.647% when pulling 1c93e10 on Izhaki:master into 704d289 on jsoverson:master.

@Izhaki
Copy link
Author

Izhaki commented Sep 22, 2017

Hmmm... the build fails on non-code related error - ERROR: npm is known not to run on Node.js v0.12.18

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants