summaryrefslogtreecommitdiff
path: root/client/simple
diff options
context:
space:
mode:
authordependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>2025-07-04 11:04:22 +0200
committerGitHub <noreply@github.com>2025-07-04 11:04:22 +0200
commitdb8d4d38776f1750bcb13138e578156e95428ebc (patch)
treee1da2fc3df194632729dc5959c89757ef2aa5480 /client/simple
parent08d8fb7146f5e3de52288472ad5be919828ce3c7 (diff)
[upd] web-client (simple): Bump vite from 6.3.5 to 7.0.0 in /client/simple (#4944)
* [upd] web-client (simple): Bump vite in /client/simple --- updated-dependencies: - dependency-name: vite dependency-version: 7.0.0 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * [fix] theme/simple: api sync CSS sourcemap generation doesn't work right now anyway. --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Ivan Gabaldon <igabaldon@inetol.net>
Diffstat (limited to 'client/simple')
-rw-r--r--client/simple/package-lock.json31
-rw-r--r--client/simple/package.json2
-rw-r--r--client/simple/vite.config.js31
3 files changed, 19 insertions, 45 deletions
diff --git a/client/simple/package-lock.json b/client/simple/package-lock.json
index ae9460926..c8cf5b3d8 100644
--- a/client/simple/package-lock.json
+++ b/client/simple/package-lock.json
@@ -20,7 +20,7 @@
"stylelint-prettier": "^5.0.3",
"svgo": "^4.0.0",
"swiped-events": "^1.2.0",
- "vite": "^6.3.5",
+ "vite": "^7.0.1",
"vite-plugin-static-copy": "^3.1.0"
}
},
@@ -4313,24 +4313,23 @@
"license": "MIT"
},
"node_modules/vite": {
- "version": "6.3.5",
- "resolved": "https://registry.npmjs.org/vite/-/vite-6.3.5.tgz",
- "integrity": "sha512-cZn6NDFE7wdTpINgs++ZJ4N49W2vRp8LCKrn3Ob1kYNtOo21vfDoaV5GzBfLU4MovSAB8uNRm4jgzVQZ+mBzPQ==",
+ "version": "7.0.1",
+ "resolved": "https://registry.npmjs.org/vite/-/vite-7.0.1.tgz",
+ "integrity": "sha512-BiKOQoW5HGR30E6JDeNsati6HnSPMVEKbkIWbCiol+xKeu3g5owrjy7kbk/QEMuzCV87dSUTvycYKmlcfGKq3Q==",
"dev": true,
- "license": "MIT",
"dependencies": {
"esbuild": "^0.25.0",
- "fdir": "^6.4.4",
+ "fdir": "^6.4.6",
"picomatch": "^4.0.2",
- "postcss": "^8.5.3",
- "rollup": "^4.34.9",
- "tinyglobby": "^0.2.13"
+ "postcss": "^8.5.6",
+ "rollup": "^4.40.0",
+ "tinyglobby": "^0.2.14"
},
"bin": {
"vite": "bin/vite.js"
},
"engines": {
- "node": "^18.0.0 || ^20.0.0 || >=22.0.0"
+ "node": "^20.19.0 || >=22.12.0"
},
"funding": {
"url": "https://github.com/vitejs/vite?sponsor=1"
@@ -4339,14 +4338,14 @@
"fsevents": "~2.3.3"
},
"peerDependencies": {
- "@types/node": "^18.0.0 || ^20.0.0 || >=22.0.0",
+ "@types/node": "^20.19.0 || >=22.12.0",
"jiti": ">=1.21.0",
- "less": "*",
+ "less": "^4.0.0",
"lightningcss": "^1.21.0",
- "sass": "*",
- "sass-embedded": "*",
- "stylus": "*",
- "sugarss": "*",
+ "sass": "^1.70.0",
+ "sass-embedded": "^1.70.0",
+ "stylus": ">=0.54.8",
+ "sugarss": "^5.0.0",
"terser": "^5.16.0",
"tsx": "^4.8.1",
"yaml": "^2.4.2"
diff --git a/client/simple/package.json b/client/simple/package.json
index 8589528f1..69f1cae2c 100644
--- a/client/simple/package.json
+++ b/client/simple/package.json
@@ -30,7 +30,7 @@
"stylelint-prettier": "^5.0.3",
"svgo": "^4.0.0",
"swiped-events": "^1.2.0",
- "vite": "^6.3.5",
+ "vite": "^7.0.1",
"vite-plugin-static-copy": "^3.1.0"
}
}
diff --git a/client/simple/vite.config.js b/client/simple/vite.config.js
index f389e9ffe..b2d409db9 100644
--- a/client/simple/vite.config.js
+++ b/client/simple/vite.config.js
@@ -48,45 +48,20 @@ export default defineConfig({
// - build.sourcemap
// - esbuild.sourcemap
// - css.preprocessorOptions.less.sourceMap
-
css: {
- devSourcemap: true,
- preprocessorOptions: {
- less: {
- // FIXME: missing CCS sourcemaps!!
- sourceMap: {
- outputSourceFiles: true,
- sourceMapURL: (name) => {
- const s = name.split("/");
- return `${s[s.length - 1]}.map`;
- }
- }
- // env: 'development',
- // relativeUrls: true,
- // javascriptEnabled: true,
- }
- }
+ devSourcemap: true
}, // end: css
- esbuild: {
- // FIXME: missing CCS sourcemaps!!
- sourcemap: true
- },
-
build: {
- target: "modules",
+ target: ["chrome87", "edge88", "firefox78", "safari14"],
manifest: "manifest.json",
emptyOutDir: true,
assetsDir: "",
outDir: PATH.dist,
- // FIXME: missing CCS sourcemaps!!
sourcemap: true,
-
- // https://vite.dev/config/build-options.html#build-cssminify
- cssMinify: true,
- // cssMinify: "esbuild",
minify: "esbuild",
+ cssMinify: "esbuild",
rollupOptions: {
input: {