passing configuration through webpack

This commit is contained in:
Fran Jurmanović
2021-06-05 13:13:39 +02:00
parent 67eda03307
commit 4ed0b75b09
5 changed files with 20 additions and 8 deletions

8
declaration.d.ts vendored
View File

@@ -1 +1,9 @@
declare module "*.scss";
declare var __CONFIG__: SettingType;
type SettingType = {
apiUrl: string;
apiVersion: string;
ssl: string;
appName: string;
};