Skip to content

Commit

Permalink
feat: add tuono.config.ts to the examples
Browse files Browse the repository at this point in the history
  • Loading branch information
Valerioageno committed Nov 25, 2024
1 parent 23b4dc5 commit adcfe5a
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/tuono-app/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true
},
"include": ["src"],
"include": ["src", "tuono.config.ts"],
"references": [{ "path": "./tsconfig.node.json" }]
}
9 changes: 9 additions & 0 deletions examples/tuono-app/tuono.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import type { TuonoConfig } from 'tuono/config'

const config: TuonoConfig = {
vite: {
alias: { 'my-alias': 'my-alias' },
},
}

export default config
2 changes: 1 addition & 1 deletion examples/tuono-tutorial/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true
},
"include": ["src"],
"include": ["src", "tuono.config.ts"],
"references": [{ "path": "./tsconfig.node.json" }]
}
9 changes: 9 additions & 0 deletions examples/tuono-tutorial/tuono.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import type { TuonoConfig } from 'tuono/config'

const config: TuonoConfig = {
vite: {
alias: { 'my-alias': 'my-alias' },
},
}

export default config
2 changes: 1 addition & 1 deletion examples/with-mdx/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true
},
"include": ["src"],
"include": ["src", "tuono.config.ts"],
"references": [{ "path": "./tsconfig.node.json" }]
}
9 changes: 9 additions & 0 deletions examples/with-mdx/tuono.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import type { TuonoConfig } from 'tuono/config'

const config: TuonoConfig = {
vite: {
alias: { 'my-alias': 'my-alias' },
},
}

export default config

0 comments on commit adcfe5a

Please sign in to comment.