victory
victory copied to clipboard
victory-native: Consider using core packages instead of `victory-<name>/es`
We presently do something like:
import { VictoryArea } from "victory-area/es";
in victory-native
so that we know we point to transpiled source with ESM. This means, however, for things like Jest tests we have to transpile the already transpiled other victory-<name>/es
files.
Task:
- [ ] Investigate if we can switch over to like
import { VictoryArea } from "victory-area";
and not transpile further in Jest. - [ ] Update
jest-native-config.js
to only transpile in/test/
intransform
setting.