Skip to content
This repository has been archived by the owner on Jan 19, 2021. It is now read-only.

Upgrade to istanbul-lib-instrument #28

Merged

Conversation

MichaReiser
Copy link
Contributor

@MichaReiser MichaReiser commented Sep 5, 2016

Upgrade loader to use istanbul-lib-instrument to be future prove.

It also adds support for ES6, so the isparta loader is not needed anymore

};

module.exports = function(source) {
module.exports = function(source, sourceMap, done) {
var userOptions = loaderUtils.parseQuery(this.query);
Copy link
Collaborator

Choose a reason for hiding this comment

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

done?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

... right, my fault!

@deepsweet
Copy link
Collaborator

so should we wait for istanbuljs-archived-repos/istanbul-lib-instrument#23 first? I'm ready to merge this and bump new major version.

@MichaReiser
Copy link
Contributor Author

I would wait some days in the hope that they accept the change. If not, then I will split the change into two pull requests. Thx for your fast responses!

@deepsweet
Copy link
Collaborator

please split this into 2 PRs 👍

@MichaReiser
Copy link
Contributor Author

I removed the source map support from this branch. Second pull request follows tomorrow....

@deepsweet deepsweet merged commit 1b309bc into webpack-contrib:master Sep 14, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants