deepsweet / isparta-loader

💯 isparta instrumenter loader for webpack
117 stars 22 forks source link

Support query (and webpack 2) #28

Open unimonkiez opened 7 years ago

unimonkiez commented 7 years ago

Hey, first of all thanks for the loader, been serving me for quite some time 👍 .

As of Webpack 2 adding properties to the main config is disallowed. Loaders are required to receive their config via queries. This pull request also solves issue #20 and the non existing issue which is to support webpack 2.

Already tested and works fine on my repo.

Thanks in advance, unimonkiez

rodmax commented 7 years ago

I just use this pull request in my setup with webpack2... It seems working :)

unimonkiez commented 7 years ago

@dianadumbravean Fixed README

deepsweet commented 7 years ago

there is no need to use isparta anymore, see https://github.com/deepsweet/istanbul-instrumenter-loader.

this one is deprecated and no longer maintained.