Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider support for wildcard backtracking #64

Open
guybedford opened this issue Jul 3, 2019 · 2 comments
Open

Consider support for wildcard backtracking #64

guybedford opened this issue Jul 3, 2019 · 2 comments

Comments

@guybedford
Copy link
Contributor

Currently we filter wildcards to ensure they cannot bracktrack. There are cases where this can be useful though, so if it can be supported we should.

@lucleray
Copy link
Member

lucleray commented Jul 3, 2019

Here's a repro for this:

https://github.com/lucleray/ncc-backtracking-assets

  • run ncc build folder/index.js
  • dist folder does not contain example

Without backtracking (../) in the path, it works fine.

@guybedford
Copy link
Contributor Author

A variation of this could be to modify the filter to support backtracking into sibling folders specifically.

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

No branches or pull requests

2 participants