babel-plugin-static-fs icon indicating copy to clipboard operation
babel-plugin-static-fs copied to clipboard

Add support for node: protocol

Open perrin4869 opened this issue 2 years ago • 0 comments

What kind of change does this PR introduce? (check at least one)

  • [ ] Bugfix (non-breaking change which fixes an issue)
  • [x] Feature (non-breaking change which adds functionality)
  • [ ] Code style update
  • [ ] Refactor (refactoring or adding test which isn't a fix or add a feature)
  • [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • [ ] Build-related changes
  • [ ] Other, please describe:

Does this PR introduce a breaking change? (check one)

  • [ ] Yes
  • [x] No

Did you test your solution?

  • [ ] I lightly tested it in one browser
  • [ ] I deeply tested it in several browsers
  • [x] I wrote tests around it (unit tests, integration tests, E2E tests)

Problem Description

Currently, doing import { readFileSync } from "node:fs" will not correctly transform.

Side Effects, Risks, Impact

  • [x] N/A

perrin4869 avatar Jun 03 '22 12:06 perrin4869