question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Plugin with `include` or `exclude` options fails on Windows

See original GitHub issue

Using either the include or exclude options causes the plugin to fail on Windows. The plugin uses a string.search call to check if the requested module path matches either of the include/exclude sets, but using string.search implicitly creates an invalid regex on Windows machines due to the module path forward slashes.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:15 (14 by maintainers)

github_iconTop GitHub Comments

1reaction
shaketbabycommented, Feb 25, 2019

Sorry, I don’t really have time at the moment. PR is always very welcome.

0reactions
asbjornhcommented, Mar 8, 2019

Cool! 😄 that was quick. Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

rollup/plugin-replace issue with include/exclude options in ...
Please describe. @rollup/plugin-replace is failing in windows when using include or exclude options. ... This plugin is using createFilter from @ ...
Read more >
Add an exclusion to Windows Security - Microsoft Support
Select Add an exclusion, and then select from files, folders, file types, or process. A folder exclusion will apply to all subfolders within...
Read more >
Maven Surefire Plugin – Inclusions and Exclusions of Tests
There are certain times when some tests are causing the build to fail. Excluding them is one of the best workarounds to continue...
Read more >
maven 3 surefire and maven gwt exclude / include problems
I have a root pom configured with the maven-surefire-plugin and a gwt module pom configured with the gwt-maven-plugin. After upgrading to Maven 3...
Read more >
Options - Babel.js
The filename is exposed to plugins. Some plugins may require the presence of the filename. Options like "test" , "exclude" , and "ignore"...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found