diff options
| author | dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | 2025-07-04 11:04:22 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-04 11:04:22 +0200 |
| commit | db8d4d38776f1750bcb13138e578156e95428ebc (patch) | |
| tree | e1da2fc3df194632729dc5959c89757ef2aa5480 /client/simple/vite.config.js | |
| parent | 08d8fb7146f5e3de52288472ad5be919828ce3c7 (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/vite.config.js')
| -rw-r--r-- | client/simple/vite.config.js | 31 |
1 files changed, 3 insertions, 28 deletions
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: { |