From a8ed79b7307751c38151bff9c0286c0070d91eaf Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Tue, 4 Feb 2025 17:29:48 +0100 Subject: [web-client] simple theme: stylelint LESS source files Signed-off-by: Markus Heiser --- client/simple/vite.config.js | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'client/simple/vite.config.js') diff --git a/client/simple/vite.config.js b/client/simple/vite.config.js index 90d63e46e..4c3c3b566 100644 --- a/client/simple/vite.config.js +++ b/client/simple/vite.config.js @@ -4,6 +4,7 @@ import { resolve } from "node:path"; import { defineConfig } from "vite"; +import stylelint from "vite-plugin-stylelint"; import { viteStaticCopy } from "vite-plugin-static-copy"; @@ -105,6 +106,12 @@ export default defineConfig({ plugins: [ + stylelint({ + build: true, + emitWarningAsError: true, + fix: true, + }), + // Leaflet viteStaticCopy({ -- cgit v1.2.3