ui: Constants refactor (#26908)
* refactor: Constants * refactor: Constants/Enums cleanup * refactor: Constant objects instead of multiple single value constants * refactor: Cleanup constants
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { BUILD_CONFIG } from '../src/lib/constants/pwa';
|
||||
import { BUILD_CONFIG } from '../src/lib/constants/pwa.constants';
|
||||
import { existsSync, writeFileSync } from 'node:fs';
|
||||
import { resolve } from 'path';
|
||||
import type { Plugin } from 'vite';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { BUILD_CONFIG } from '../src/lib/constants/pwa';
|
||||
import { BUILD_CONFIG } from '../src/lib/constants/pwa.constants';
|
||||
import { existsSync, readFileSync, writeFileSync } from 'node:fs';
|
||||
import { resolve } from 'path';
|
||||
import type { Plugin } from 'vite';
|
||||
|
||||
@@ -1,5 +1,10 @@
|
||||
import { NEWLINE, TAB } from '../src/lib/constants/code';
|
||||
import { APPLE_DEVICES, BUILD_CONFIG, REGEX_PATTERNS, SPLASH_LINK } from '../src/lib/constants/pwa';
|
||||
import {
|
||||
APPLE_DEVICES,
|
||||
BUILD_CONFIG,
|
||||
REGEX_PATTERNS,
|
||||
SPLASH_LINK
|
||||
} from '../src/lib/constants/pwa.constants';
|
||||
import { NEWLINE, TAB } from '../src/lib/constants/special-characters.constants';
|
||||
import { SplashOrientation } from '../src/lib/enums/splash.enums';
|
||||
import type { SplashDimensions } from '../src/lib/types';
|
||||
import { existsSync, readdirSync, readFileSync, writeFileSync } from 'node:fs';
|
||||
|
||||
Reference in New Issue
Block a user