1fdc87f7f4
- Created Mode1 as self-contained test environment - Added auth-module copy with self-contained configuration - Implemented backend server with Graph token and PocketBase validation endpoints - Added frontend test dashboard with token comparison functionality - Fixed TypeScript compatibility issues (replaced import.meta.dir with __dirname) - Implemented actual PB token validation in comparison endpoint (no placeholders) - All endpoints tested and working with real tokens
18 lines
313 B
TypeScript
18 lines
313 B
TypeScript
import { defineConfig } from 'vite';
|
|
|
|
export default defineConfig({
|
|
build: {
|
|
outDir: 'frontend/dist',
|
|
emptyOutDir: true,
|
|
lib: {
|
|
entry: 'frontend/auth.ts',
|
|
name: 'AuthModule',
|
|
fileName: () => 'auth.js',
|
|
formats: ['umd']
|
|
}
|
|
},
|
|
server: {
|
|
middlewareMode: true
|
|
}
|
|
});
|