-
-
Notifications
You must be signed in to change notification settings - Fork 30.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix[chore]: do not preload runtime.js (#3279)
- Loading branch information
1 parent
5853912
commit 73a9ab0
Showing
1 changed file
with
11 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
73a9ab0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
从2020-6-24一直折腾到6-25,在build:prod时生成runtime.js老是报如下错误:
entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
Entrypoints:
app (524 KiB)
static/js/runtime.c2d8544d.js
static/css/chunk-libs.b57e4bfb.css
static/js/chunk-libs.2a87f14a.js
static/css/app.07f9ca88.css
static/js/app.9e2b3985.js
导致index.html无法找到runtime.js。
最终clone了这个版本后才最终解决了问题,webpack的配置真是还有很多需要学习地方。