@olenbetong/appframe-vite 6.3.4 → 6.3.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.
Files changed (2) hide show
  1. package/lib/index.js +7 -0
  2. package/package.json +3 -3
package/lib/index.js CHANGED
@@ -68,6 +68,13 @@ export default function appframe(options = {}) {
68
68
  build: {
69
69
  ...restBuildConfig,
70
70
  target: restBuildConfig.target ?? ["chrome90", "safari14"],
71
+ // Safari 14.0 doesn't support logical inset properties, which makes esbuild
72
+ // rewrite them to physical properties with `:lang()` selectors. That transform
73
+ // mangles nested `@supports`/`@media` blocks (declarations get hoisted into
74
+ // unrelated rules), which breaks CSS anchor positioning. Safari 14.1 supports
75
+ // logical properties, so bumping only the CSS target avoids the rewrite while
76
+ // still lowering CSS nesting.
77
+ cssTarget: restBuildConfig.cssTarget ?? ["chrome90", "safari14.1"],
71
78
  rolldownOptions: {
72
79
  ...restBuildConfig.rolldownOptions,
73
80
  output: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@olenbetong/appframe-vite",
3
- "version": "6.3.4",
3
+ "version": "6.3.5",
4
4
  "description": "Tools to use and deploy Vite applications to Appframe",
5
5
  "main": "./lib/index.js",
6
6
  "type": "module",
@@ -36,7 +36,7 @@
36
36
  "commander": "15.0.0",
37
37
  "dotenv": "^17.4.2",
38
38
  "fuzzy": "^0.1.3",
39
- "inquirer": "^13.4.3",
39
+ "inquirer": "^14.0.2",
40
40
  "inquirer-autocomplete-standalone": "^0.8.1",
41
41
  "jsdom": "29.1.1",
42
42
  "rollup-plugin-visualizer": "^7.0.1",
@@ -50,7 +50,7 @@
50
50
  "vite": "8.1.5"
51
51
  },
52
52
  "peerDependencies": {
53
- "vite": ">=5.0.0"
53
+ "vite": ">=8.1.5"
54
54
  },
55
55
  "optionalDependencies": {
56
56
  "@types/tcp-port-used": "^1.0.4",