Skip to content

Commit 99da534

Browse files
committed
fix(prompts): switched module resolution from node to bundler
1 parent bc24661 commit 99da534

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

client/webui/frontend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"build": "tsc -b && vite build",
4646
"build-lib": "vite build --config vite.lib.config.ts",
4747
"build-types": "tsc --emitDeclarationOnly --outDir dist --project tsconfig.lib.json",
48-
"build-package": "rm -rf dist && npm run build-lib && npm run build-types",
48+
"build-package": "npm run build-lib && npm run build-types",
4949
"lint": "eslint .",
5050
"cypress:open": "cypress open",
5151
"cypress:run": "cypress run",

client/webui/frontend/tsconfig.lib.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"lib": ["ES2023", "DOM", "DOM.Iterable"],
1515
"downlevelIteration": true,
1616
"skipLibCheck": true,
17-
"moduleResolution": "node",
17+
"moduleResolution": "bundler",
1818
"allowSyntheticDefaultImports": true,
1919
"baseUrl": ".",
2020
"paths": {

0 commit comments

Comments
 (0)