You've already forked authentication-service
mirror of
https://github.com/matrix-org/matrix-authentication-service.git
synced 2025-07-29 22:01:14 +03:00
vite: enable preloading and make sure we load the right dev/prod deps
This commit is contained in:
@ -50,14 +50,13 @@ export default defineConfig((env) => ({
|
||||
|
||||
define: {
|
||||
"import.meta.vitest": "undefined",
|
||||
"process.env.NODE_ENV": JSON.stringify(env.mode),
|
||||
},
|
||||
|
||||
build: {
|
||||
manifest: "manifest.json",
|
||||
assetsDir: "",
|
||||
assetsInlineLimit: 0,
|
||||
sourcemap: true,
|
||||
modulePreload: false,
|
||||
target: browserslistToEsbuild(),
|
||||
cssCodeSplit: true,
|
||||
|
||||
|
Reference in New Issue
Block a user