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

fix: FaaS error case #922

Merged
merged 7 commits into from
Dec 22, 2021
Merged

fix: FaaS error case #922

merged 7 commits into from
Dec 22, 2021

Conversation

SoloJiang
Copy link
Contributor

@SoloJiang SoloJiang commented Dec 16, 2021

  • Close devServer.hot for mock require case
  • Replace __CHUNK_INFO__ before devServer return html, for FaaS execute render method manually
  • Fix loose file-loader with url-loader

ClarkXia
ClarkXia previously approved these changes Dec 16, 2021
@@ -6,5 +6,6 @@ export default function formatEntryLoaderQuery(query: ILoaderQuery): IFormattedL
needInjectStyle: query.needInjectStyle === 'true',
updateDataInClient: query.updateDataInClient === 'true',
pageConfig: JSON.parse(query.pageConfig as string || '{}'),
injectedHTML: JSON.parse(query.injectedHTML || '{}'),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

inline 方式不宜传入过多参数,node 下会有最大长度路径的限制,后面可能需要优化下

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok,后面考虑和 icejs 方案一致 #910

@codecov-commenter
Copy link

Codecov Report

Merging #922 (e9beac2) into master (7768c16) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #922   +/-   ##
=======================================
  Coverage   31.60%   31.60%           
=======================================
  Files          46       46           
  Lines        1174     1174           
  Branches      280      280           
=======================================
  Hits          371      371           
  Misses        803      803           

@SoloJiang SoloJiang merged commit f2f7a98 into master Dec 22, 2021
@SoloJiang SoloJiang deleted the fix/faas-error branch December 22, 2021 02:49
@SoloJiang SoloJiang restored the fix/faas-error branch December 22, 2021 02:49
SoloJiang added a commit that referenced this pull request Dec 22, 2021
SoloJiang added a commit that referenced this pull request Dec 22, 2021
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.

4 participants