Glen Whitney
047385d56b
Resolves #12. Co-authored-by: Jos de Jong <wjosdejong@gmail.com> Reviewed-on: #13 Co-authored-by: Glen Whitney <glen@studioinfinity.org> Co-committed-by: Glen Whitney <glen@studioinfinity.org>
17 lines
350 B
TypeScript
17 lines
350 B
TypeScript
import {dirname} from 'node:path'
|
|
import {defineConfig} from 'vitest/config'
|
|
|
|
const rootDir = dirname(__dirname)
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
includeSource: ['build/**/*.js'],
|
|
alias: [
|
|
{
|
|
find: /^@(.*)/,
|
|
replacement: rootDir + '/build$1.js'
|
|
},
|
|
],
|
|
},
|
|
})
|