Skip to content

Commit

Permalink
fix: correct config files in examples (#363)
Browse files Browse the repository at this point in the history
Adds empty-view path to vite config and tsconfig in examples.
Removes unused deps from empty-view.
  • Loading branch information
boilund authored Dec 3, 2024
1 parent 2c238de commit 7a9376e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
1 change: 0 additions & 1 deletion components/empty-view/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"eslint": "^8.57.1",
"jsdom": "^22.1.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"typescript": "^4.5.5"
Expand Down
1 change: 1 addition & 0 deletions examples/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"lib": ["es5", "es6", "dom", "dom.iterable", "ES2015", "es2017"],
"types": ["node"],
"paths": {
"@axiscommunications/fluent-empty-view": ["components/empty-view/src"],
"@axiscommunications/fluent-hooks": ["hooks/src"],
"@axiscommunications/fluent-password-input": [
"components/password-input/src"
Expand Down
3 changes: 3 additions & 0 deletions examples/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ export default defineConfig({
base: "/fluent-components/",
resolve: {
alias: {
"@axiscommunications/fluent-empty-view": path.resolve(
"../components/empty-view/src/index.ts"
),
"@axiscommunications/fluent-icons": path.resolve("../icons/src/index.ts"),
"@axiscommunications/fluent-stepper": path.resolve(
"../components/stepper/src/index.ts"
Expand Down
3 changes: 0 additions & 3 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7a9376e

Please sign in to comment.