mirror of
https://github.com/arsvendg/Stirling-PDF.git
synced 2026-07-16 11:23:10 +02:00
Add SaaS frontend code (#5879)
# Description of Changes Adds the code for the SaaS frontend as proprietary code to the OSS repo. This version of the code is adapted from 22/1/2026, which was the last SaaS version based on the 'V2' design. This will move us closer to being able to have the OSS products understand whether the user has a SaaS account, and provide the correct UI in those cases.
This commit is contained in:
@@ -20,6 +20,8 @@ export default defineConfig({
|
||||
exclude: [
|
||||
'node_modules/',
|
||||
'src/core/setupTests.ts',
|
||||
'src/proprietary/setupTests.ts',
|
||||
'src/saas/setupTests.ts',
|
||||
'**/*.d.ts',
|
||||
'src/tests/test-fixtures/**',
|
||||
'src/**/*.spec.ts'
|
||||
@@ -80,6 +82,24 @@ export default defineConfig({
|
||||
target: 'es2020'
|
||||
}
|
||||
},
|
||||
{
|
||||
test: {
|
||||
name: 'saas',
|
||||
include: ['src/saas/**/*.test.{ts,tsx}'],
|
||||
environment: 'jsdom',
|
||||
globals: true,
|
||||
setupFiles: ['./src/saas/setupTests.ts'],
|
||||
},
|
||||
plugins: [
|
||||
react(),
|
||||
tsconfigPaths({
|
||||
projects: ['./tsconfig.saas.vite.json'],
|
||||
}),
|
||||
],
|
||||
esbuild: {
|
||||
target: 'es2020'
|
||||
}
|
||||
},
|
||||
],
|
||||
},
|
||||
esbuild: {
|
||||
|
||||
Reference in New Issue
Block a user