@@ -10,6 +10,10 @@ import { defineConfig, lazyPlugins } from 'vite-plus';
|
||||
const qaBuild = process.env.INVESTMOZ_QA_BUILD === '1';
|
||||
|
||||
export default defineConfig({
|
||||
// Label the isolated QA browser without changing the active environment/build.
|
||||
define: qaBuild
|
||||
? { 'import.meta.env.VITE_APP_NAME': JSON.stringify('InvesteMoz QA') }
|
||||
: undefined,
|
||||
plugins: lazyPlugins(() => [
|
||||
laravel({
|
||||
buildDirectory: qaBuild ? 'build-qa-opportunities' : 'build',
|
||||
@@ -19,6 +23,12 @@ export default defineConfig({
|
||||
bunny('Instrument Sans', {
|
||||
weights: [400, 500, 600],
|
||||
}),
|
||||
...(qaBuild
|
||||
? [
|
||||
bunny('Noto Sans', { weights: [400, 500, 600, 700] }),
|
||||
bunny('Noto Serif', { weights: [400, 600, 700] }),
|
||||
]
|
||||
: []),
|
||||
],
|
||||
}),
|
||||
inertia(),
|
||||
|
||||
Reference in New Issue
Block a user