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

Using glob should not override tshy.exports on run #63

Closed
novascreen opened this issue May 14, 2024 · 1 comment · Fixed by #71
Closed

Using glob should not override tshy.exports on run #63

novascreen opened this issue May 14, 2024 · 1 comment · Fixed by #71

Comments

@novascreen
Copy link

I was trying the glob exports with a config like this:

"tshy": {
  "exports": "./src/**"
}

unfortunately when i run tshy it overrides tshy.exports with the results of the glob. So next time I want to add a file, i'll have to change it back to "./src/**", which kind of defeats the purpose.

I would expect it to change exports, but not tshy.exports.

@isaacs
Copy link
Owner

isaacs commented May 15, 2024

Ah, yeah, that's annoying. The whole point is that you want to add files and not update anything.

@isaacs isaacs closed this as completed in eb57c19 Jun 6, 2024
isaacs added a commit that referenced this issue Jun 6, 2024
isaacs added a commit that referenced this issue Jun 6, 2024
isaacs added a commit that referenced this issue Jun 6, 2024
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

Successfully merging a pull request may close this issue.

2 participants