webpack-contrib / imports-loader

Imports Loader
MIT License
520 stars 63 forks source link

regex syntax typo #139

Closed Tchiller closed 9 months ago

Tchiller commented 2 years ago

Documentation Is:

Please Explain in Detail...

In your docu you write:

// You can use `regexp`
// test: /example\.js/$

I guess the dollar sign should stand before the slash and not behind

Your Proposal for Changes

// You can use `regexp`
// test: /example\.js$/

Thank you. Hope that helps.

alexander-akait commented 2 years ago

PR welcome