Closed ayush000 closed 5 years ago
Merging #58 into master will decrease coverage by
0.06%
. The diff coverage is80%
.
@@ Coverage Diff @@
## master #58 +/- ##
==========================================
- Coverage 80% 79.93% -0.07%
==========================================
Files 3 3
Lines 305 309 +4
Branches 65 66 +1
==========================================
+ Hits 244 247 +3
- Misses 61 62 +1
Impacted Files | Coverage Δ | |
---|---|---|
ReferenceProvider.js | 91.94% <80%> (-0.3%) |
:arrow_down: |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 294176b...3b0d9e1. Read the comment docs.
I didn't like the idea of appending a random x character to the end of file and doing a sync file test. Have you tried requireModuleSupport.pluginExtensions
option and import like jsx!/src/moduleA
? This seems like a better solution than changing the code like that?
I have verified now, requireModuleSupport.pluginExtensions
option and import like jsx!/src/moduleA
works fine. Better than this solution.
This is a hacky way to add support for navigating to jsx files.