@umijs/preset-umi 4.0.30 → 4.0.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/bundle-status.html +4 -1
- package/compiled/joi2types/index.js +7 -10
- package/compiled/joi2types/package.json +1 -1
- package/dist/commands/generators/api.js +1 -1
- package/dist/commands/generators/component.js +1 -1
- package/dist/commands/generators/precommit.d.ts +3 -0
- package/dist/commands/generators/precommit.js +100 -0
- package/dist/features/apiRoute/request.d.ts +0 -1
- package/dist/features/appData/umiInfo.d.ts +3 -0
- package/dist/features/appData/umiInfo.js +35 -0
- package/dist/features/codeSplitting/codeSplitting.js +4 -1
- package/dist/features/configPlugins/schema.js +1 -1
- package/dist/features/exportStatic/exportStatic.js +5 -4
- package/dist/features/test/test.js +1 -0
- package/dist/features/tmpFiles/configTypes.js +2 -1
- package/dist/features/tmpFiles/routes.js +2 -6
- package/dist/features/tmpFiles/tmpFiles.js +1 -1
- package/dist/index.js +2 -0
- package/package.json +13 -13
- package/templates/TestBrowser.tpl +9 -0
|
@@ -87,6 +87,9 @@
|
|
|
87
87
|
margin-top: 20px;
|
|
88
88
|
font-size: 13px;
|
|
89
89
|
color: #999999;
|
|
90
|
+
max-width: calc(100vw - 500px);
|
|
91
|
+
text-align: center;
|
|
92
|
+
white-space: pre-wrap;
|
|
90
93
|
}
|
|
91
94
|
|
|
92
95
|
@keyframes fade-in-out {
|
|
@@ -185,7 +188,7 @@
|
|
|
185
188
|
if (hasProgressDetails) {
|
|
186
189
|
const details = data.bundleStatus.progresses[0].details;
|
|
187
190
|
if (details.length) {
|
|
188
|
-
|
|
191
|
+
progressDetails.innerHTML = details.join('<br />');
|
|
189
192
|
}
|
|
190
193
|
}
|
|
191
194
|
|