I am trying to switch from an old in-house built solution to react-scanner and found one case that ours worked with but react-scanner does not. We have some instances of this import syntax that get missed:
import { default as Header } from "my-design-system";
Here is a test that shows the issue, just add it to src/scan.test.js:
I am trying to switch from an old in-house built solution to react-scanner and found one case that ours worked with but react-scanner does not. We have some instances of this import syntax that get missed:
import { default as Header } from "my-design-system";
Here is a test that shows the issue, just add it to
src/scan.test.js
: