@next-core/brick-container 2.98.19 → 2.98.20
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/dist/index.html +1 -1
- package/dist/{main.d48a7acc207c2c3bb66d.js → main.d3e8e7cf82c7c28a0707.js} +2 -2
- package/dist/{main.d48a7acc207c2c3bb66d.js.map → main.d3e8e7cf82c7c28a0707.js.map} +1 -1
- package/dist/{main.98799647d025d7aec24a.css → main.ff3829844003b1981409.css} +1 -1
- package/dist/main.ff3829844003b1981409.css.map +1 -0
- package/dist/{preview.364eaa02e9807111555f.js → preview.2f496a85c7e2b2d33b51.js} +2 -2
- package/dist/{preview.364eaa02e9807111555f.js.map → preview.2f496a85c7e2b2d33b51.js.map} +1 -1
- package/dist/{preview.5fb551513edc8051ce6c.css → preview.ca42c8669e4d14c0eabd.css} +1 -1
- package/dist/preview.ca42c8669e4d14c0eabd.css.map +1 -0
- package/dist/preview.html +1 -1
- package/package.json +2 -2
- package/serve/getProxies.js +5 -2
- package/dist/main.98799647d025d7aec24a.css.map +0 -1
- package/dist/preview.5fb551513edc8051ce6c.css.map +0 -1
package/dist/preview.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!doctype html><html lang="zh-CN" data-theme="light" data-mode="default"><head><meta charset="utf-8"/><base href="<!--# echo var='base_href' default='/' -->"/><script>window.DEVELOPER_PREVIEW = true;</script><link href="preview.
|
|
1
|
+
<!doctype html><html lang="zh-CN" data-theme="light" data-mode="default"><head><meta charset="utf-8"/><base href="<!--# echo var='base_href' default='/' -->"/><script>window.DEVELOPER_PREVIEW = true;</script><link href="preview.ca42c8669e4d14c0eabd.css" rel="stylesheet"></head><body><div id="preview-root"><div id="main-mount-point"></div><div id="bg-mount-point" style="display: none"></div><div id="portal-mount-point"></div></div><script src="dll.c2e611ee.js"></script><script src="polyfill.3e88f145a0893497373b.js"></script><script src="preview.2f496a85c7e2b2d33b51.js"></script></body></html>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next-core/brick-container",
|
|
3
|
-
"version": "2.98.
|
|
3
|
+
"version": "2.98.20",
|
|
4
4
|
"description": "Brick Container Server",
|
|
5
5
|
"homepage": "https://github.com/easyops-cn/next-core/tree/master/packages/brick-container",
|
|
6
6
|
"license": "GPL-3.0",
|
|
@@ -73,5 +73,5 @@
|
|
|
73
73
|
"webpack-dev-server": "^4.11.1",
|
|
74
74
|
"webpack-merge": "^5.8.0"
|
|
75
75
|
},
|
|
76
|
-
"gitHead": "
|
|
76
|
+
"gitHead": "2c77dc2ec553ea33e1f31c0874e010d286fb3271"
|
|
77
77
|
}
|
package/serve/getProxies.js
CHANGED
|
@@ -120,10 +120,13 @@ module.exports = (env, getRawIndexHtml) => {
|
|
|
120
120
|
|
|
121
121
|
const unionRegex =
|
|
122
122
|
/^\/next\/sa-static\/.*\/bootstrap-union\.[^.]+\.json$/;
|
|
123
|
+
const isBootstrapMini =
|
|
124
|
+
/^\/next\/sa-static\/.*\/bootstrap-mini\.[^.]+\.json$/.test(req.path);
|
|
123
125
|
if (
|
|
124
126
|
regex.test(req.path) ||
|
|
125
127
|
regexLegacy.test(req.path) ||
|
|
126
|
-
unionRegex.test(req.path)
|
|
128
|
+
unionRegex.test(req.path) ||
|
|
129
|
+
isBootstrapMini
|
|
127
130
|
) {
|
|
128
131
|
reqIsBootstrap = true;
|
|
129
132
|
isStandalone = true;
|
|
@@ -238,7 +241,7 @@ module.exports = (env, getRawIndexHtml) => {
|
|
|
238
241
|
.map((id) => getSingleTemplatePackage(env, id))
|
|
239
242
|
.filter(Boolean)
|
|
240
243
|
.concat(
|
|
241
|
-
data[templatePackages].filter(
|
|
244
|
+
(data[templatePackages] || []).filter(
|
|
242
245
|
(item) =>
|
|
243
246
|
!localTemplates.includes(item.filePath.split("/")[1])
|
|
244
247
|
)
|