From 353837e37a40285467fa791b970f1fb867f3b08d Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Fri, 21 Feb 2025 10:39:18 +0100 Subject: [PATCH] chore: include vue devtools in dev build Vue devtools will be removed / disabled if `NODE_ENV=production` which is the default. To enable it we need to explicitly set it (vite mode and `NODE_ENV` are two distinct things). Signed-off-by: Ferdinand Thiessen --- .env.development | 1 + REUSE.toml | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100644 .env.development diff --git a/.env.development b/.env.development new file mode 100644 index 00000000..c0d66521 --- /dev/null +++ b/.env.development @@ -0,0 +1 @@ +NODE_ENV=development diff --git a/REUSE.toml b/REUSE.toml index 7dfd7cd0..a3a43142 100644 --- a/REUSE.toml +++ b/REUSE.toml @@ -28,3 +28,9 @@ path = ["cypress/fixtures/image.jpg"] precedence = "aggregate" SPDX-FileCopyrightText = "2016 pixabay " SPDX-License-Identifier = "CC0-1.0" + +[[annotations]] +path = [".env.development"] +precedence = "aggregate" +SPDX-FileCopyrightText = "2025 Nextcloud GmbH and Nextcloud contributors" +SPDX-License-Identifier = "CC0-1.0"