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

core(build): statically evaluate inlined fs-method arguments #13248

Merged
merged 2 commits into from
Oct 27, 2021

Conversation

brendankenny
Copy link
Member

@brendankenny brendankenny commented Oct 21, 2021

part of #13231

add support for statically evaluating the arguments to fs methods:

  • __dirname and __filename
  • string concat
  • template strings
  • require.resolve
  • any path methods that take strings and return a string (path.resolve, path.join, path.relative, etc)

this covers all the things we need to be able to run over the current codebase

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants