-
Notifications
You must be signed in to change notification settings - Fork 32
/
iles.config.ts
33 lines (31 loc) · 972 Bytes
/
iles.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
import { defineConfig } from 'iles'
import { join } from 'pathe'
const testConfig = {
test: {
deps: {
inline: [
'@vue/devtools-api',
],
},
},
}
// NOTE: This config is used when running tests.
export default defineConfig({
siteUrl: 'https://example.com/',
pagesDir: join(__dirname, 'playground/the-vue-point/src/pages'),
vite: {
resolve: {
alias: {
'iles/jsx-runtime': `${__dirname}/packages/iles/jsx-runtime.js`,
'iles/turbo': `${__dirname}/packages/iles/turbo.js`,
'iles': `${__dirname}/packages/iles/src/client/index.ts`,
'@components/': `${__dirname}/packages/iles/src/client/app/components/`,
'@node/': `${__dirname}/packages/iles/src/node/`,
'@mdx/': `${__dirname}/packages/mdx/src/`,
'@pages/': `${__dirname}/playground/the-vue-point/src/pages/`,
'~/': `${__dirname}/playground/the-vue-point/src/`,
},
},
...(testConfig as any),
},
})