From 9acf0bb4933befc7e80ddd6b177496c5440559bb Mon Sep 17 00:00:00 2001 From: koji Date: Fri, 26 Jul 2024 16:48:28 -0400 Subject: [PATCH] update vite config for app-shll and app-shell-odd --- app-shell-odd/{vite.config.ts => vite.config.mts} | 0 app-shell/{vite.config.ts => vite.config.mts} | 2 +- tsconfig-eslint.json | 3 ++- 3 files changed, 3 insertions(+), 2 deletions(-) rename app-shell-odd/{vite.config.ts => vite.config.mts} (100%) rename app-shell/{vite.config.ts => vite.config.mts} (98%) diff --git a/app-shell-odd/vite.config.ts b/app-shell-odd/vite.config.mts similarity index 100% rename from app-shell-odd/vite.config.ts rename to app-shell-odd/vite.config.mts diff --git a/app-shell/vite.config.ts b/app-shell/vite.config.mts similarity index 98% rename from app-shell/vite.config.ts rename to app-shell/vite.config.mts index 546fe19e23f..63862287fc1 100644 --- a/app-shell/vite.config.ts +++ b/app-shell/vite.config.mts @@ -34,7 +34,7 @@ export default defineConfig( esbuildOptions: { target: 'CommonJs', }, - exclude: ['node_modules'] + exclude: ['node_modules'], }, define: { 'process.env': process.env, diff --git a/tsconfig-eslint.json b/tsconfig-eslint.json index 57e5c24b0cf..833e9eacddb 100644 --- a/tsconfig-eslint.json +++ b/tsconfig-eslint.json @@ -36,6 +36,7 @@ "usb-bridge/node-client/src", "**/*.js", "**/*.ts", + "**/*.mts", "*.js", ".*.js", "**/*.json" @@ -47,6 +48,6 @@ "**/dist/**/*", "**/lib/**/*", "**/build/**", - "**/venv/**", + "**/venv/**" ] }