Skip to content

Commit

Permalink
Fix hydrogen-ui dev and build issues (#1169)
Browse files Browse the repository at this point in the history
TS wasn't putting the output files in the dist dir
  • Loading branch information
frehner authored May 2, 2022
1 parent 314376c commit 2ecf98b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/hydrogen-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
},
"sideEffects": false,
"scripts": {
"dev": "run-p dev:vite dev:ts",
"dev": "run-p dev:vite dev:ts copy-storefront-types",
"dev:vite": "vite build --watch --emptyOutDir false --clearScreen false",
"dev:ts": "tsc --watch",
"build": "yarn build:vite && yarn build:ts",
Expand Down
3 changes: 2 additions & 1 deletion packages/hydrogen-ui/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
"isolatedModules": true,
"declaration": true,
"declarationDir": "./dist",
"jsx": "react-jsx"
"jsx": "react-jsx",
"outDir": "dist"
},
"include": ["src/**/*"],
"exclude": ["src/**/*.test.tsx"]
Expand Down

0 comments on commit 2ecf98b

Please sign in to comment.