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.
1 parent 5d81d22 commit 2372f33Copy full SHA for 2372f33
.github/workflows/deploy-dev.yml
@@ -60,6 +60,7 @@ jobs:
60
env:
61
HUSKY: "0"
62
VITE_RUN_ENVIRONMENT: dev
63
+ GENERATE_SOURCEMAP: "true"
64
65
- name: Upload Build files
66
uses: actions/upload-artifact@v4
src/api/build.js
@@ -14,7 +14,7 @@ const commonParams = {
14
".json": "file",
15
}, // File loaders
16
target: "es2022", // Target ES2022
17
- sourcemap: true,
+ sourcemap: Boolean(process.env.GENERATE_SOURCEMAP),
18
platform: "node",
19
external: ["@aws-sdk/*", ...packagesToTransfer],
20
alias: {
0 commit comments