@uniweb/build 0.2.4 → 0.2.5
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/package.json +2 -2
- package/src/site/config.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniweb/build",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.5",
|
|
4
4
|
"description": "Build tooling for the Uniweb Component Web Platform",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"sharp": "^0.33.2"
|
|
51
51
|
},
|
|
52
52
|
"optionalDependencies": {
|
|
53
|
-
"@uniweb/content-reader": "1.0.
|
|
53
|
+
"@uniweb/content-reader": "1.0.7",
|
|
54
54
|
"@uniweb/runtime": "0.3.1"
|
|
55
55
|
},
|
|
56
56
|
"peerDependencies": {
|
package/src/site/config.js
CHANGED
|
@@ -287,7 +287,7 @@ export async function defineSiteConfig(options = {}) {
|
|
|
287
287
|
// Allow parent directory for foundation sibling access
|
|
288
288
|
allow: ['..']
|
|
289
289
|
},
|
|
290
|
-
port: siteConfig.build
|
|
290
|
+
...(siteConfig.build?.port && { port: siteConfig.build.port }),
|
|
291
291
|
...serverOverrides
|
|
292
292
|
},
|
|
293
293
|
|