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

refactor: react jsx runtime respect tsconfig.json #561

Merged
merged 5 commits into from
Dec 20, 2022

Conversation

PeachScript
Copy link
Member

Bundless 的 babel & SWC、Bundle 的 Webpack 都优先使用 tsconfig.json 中的 jsx 配置来决定 React JSX 的转换方式

@codecov
Copy link

codecov bot commented Dec 20, 2022

Codecov Report

Base: 93.97% // Head: 93.98% // Increases project coverage by +0.00% 🎉

Coverage data is based on head (546492d) compared to base (3dbe137).
Patch coverage: 84.61% of modified lines in pull request are covered.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #561   +/-   ##
=======================================
  Coverage   93.97%   93.98%           
=======================================
  Files          51       51           
  Lines        1378     1379    +1     
  Branches      297      318   +21     
=======================================
+ Hits         1295     1296    +1     
  Misses         82       82           
  Partials        1        1           
Impacted Files Coverage Δ
src/builder/bundle/index.ts 88.88% <ø> (ø)
src/builder/bundless/loaders/javascript/babel.ts 92.10% <ø> (ø)
src/builder/bundless/loaders/javascript/esbuild.ts 94.28% <ø> (ø)
src/builder/bundless/loaders/javascript/swc.ts 78.12% <ø> (ø)
src/doctor/parser.ts 88.00% <ø> (ø)
src/doctor/rules/PACK_FILES_MISSING.ts 89.47% <33.33%> (+0.58%) ⬆️
src/builder/utils.ts 100.00% <100.00%> (ø)
src/doctor/rules/PHANTOM_DEPS.ts 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@PeachScript PeachScript merged commit 5e1d3b1 into master Dec 20, 2022
@delete-merged-branch delete-merged-branch bot deleted the feature/jsx-respect-tsconfig branch December 20, 2022 09:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant