Initial Vite Configuration & addition of prettierrc.
This commit is contained in:
@@ -17,7 +17,7 @@ dayjs.locale("en");
|
||||
|
||||
const config = {
|
||||
core: {
|
||||
authorizationKey: process.env.REACT_APP_SPLIT_API,
|
||||
authorizationKey: import.meta.env.VITE_APP_SPLIT_API,
|
||||
key: "anon",
|
||||
},
|
||||
};
|
||||
|
||||
@@ -54,7 +54,7 @@ const devTheme = {
|
||||
*/
|
||||
const prodTheme = {};
|
||||
|
||||
const currentTheme = process.env.NODE_ENV === "development" ? devTheme
|
||||
const currentTheme = import.meta.env.DEV ? devTheme
|
||||
: prodTheme;
|
||||
|
||||
const finaltheme = {
|
||||
|
||||
Reference in New Issue
Block a user