Extract @ipp/core npm workspace package
This commit is contained in:
@@ -1,6 +1,11 @@
|
||||
import { resolve } from 'path'
|
||||
import { defineConfig } from 'vitest/config'
|
||||
|
||||
export default defineConfig({
|
||||
resolve: {
|
||||
// Test against core's source, so `npm test` needs no build of shared/
|
||||
alias: { '@ipp/core': resolve(__dirname, '../shared/src/index.ts') }
|
||||
},
|
||||
test: {
|
||||
include: ['tests/**/*.test.ts'],
|
||||
environment: 'node'
|
||||
|
||||
Reference in New Issue
Block a user