Browse Source

wip

pull/760/head
Dan Ditomaso 11 months ago
parent
commit
14d2623c99
  1. 1
      packages/web/package.json
  2. 2
      packages/web/vite.config.ts

1
packages/web/package.json

@ -14,7 +14,6 @@
"homepage": "https://meshtastic.org", "homepage": "https://meshtastic.org",
"scripts": { "scripts": {
"build": "vite build", "build": "vite build",
"build:test": "vite build --mode test",
"build:analyze": "BUNDLE_ANALYZE=true bun run build", "build:analyze": "BUNDLE_ANALYZE=true bun run build",
"check": "biome check src/", "check": "biome check src/",
"check:fix": "biome check --write src/", "check:fix": "biome check --write src/",

2
packages/web/vite.config.ts

@ -30,7 +30,7 @@ export default defineConfig(({ mode }) => {
const env = loadEnv(mode, process.cwd()); const env = loadEnv(mode, process.cwd());
const isProd = mode === "production"; const isProd = mode === "production";
const isTest = mode === "test"; const isTest = env.VITE_IS_TEST;
return { return {
plugins: [ plugins: [

Loading…
Cancel
Save