We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 87dd5a3 + f9e724d commit 9fb0b59Copy full SHA for 9fb0b59
2 files changed
files/.env.test
@@ -0,0 +1,8 @@
1
+# This file is committed to git and should not contain any secrets.
2
+#
3
+# Vite recommends using .env.local or .env.[mode].local if you need to manage secrets
4
+# SEE: https://vite.dev/guide/env-and-mode.html#env-files for more information.
5
+
6
7
+# Default NODE_ENV with vite build --mode=test is production
8
+NODE_ENV=development
files/package.json
@@ -25,7 +25,7 @@
25
"lint:js:fix": "eslint . --fix",<% if (typescript) { %>
26
"lint:types": "glint",<% } %>
27
"start": "vite dev",
28
- "test": "vite build --mode=development --out-dir dist-tests && testem --file testem.cjs ci --port 0",
+ "test": "vite build --mode=test --out-dir dist-tests && testem --file testem.cjs ci --port 0",
29
"prepack": "rollup --config"
30
},
31
"dependencies": {
0 commit comments