-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathconfig.ts
More file actions
29 lines (28 loc) · 830 Bytes
/
config.ts
File metadata and controls
29 lines (28 loc) · 830 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
export const CONFIG = {
SUPPORTED_EXTENSIONS: { TYPESCRIPT: ['.ts', '.tsx'], JAVASCRIPT: ['.js', '.jsx'] },
HOOK_NAME: 'useUI',
LOCAL_HOOK_NAME: 'useScopedUI',
SSR_HOOK_NAME: 'zeroSSR',
SSR_HOOK_NAME_SCOPED: 'scopedZeroSSR',
IMPORT_NAME: '@react-zero-ui/core',
PLUGIN_NAME: 'postcss-react-zero-ui',
MIN_HOOK_ARGUMENTS: 2,
MAX_HOOK_ARGUMENTS: 2,
HEADER: '/* AUTO-GENERATED - DO NOT EDIT */',
ZERO_UI_DIR: '.zero-ui',
CONTENT: ['src/**/*.{ts,tsx,js,jsx}', 'app/**/*.{ts,tsx,js,jsx}', 'pages/**/*.{ts,tsx,js,jsx}'],
POSTCSS_PLUGIN: '@react-zero-ui/core/postcss',
VITE_PLUGIN: '@react-zero-ui/core/vite',
} as const;
export const IGNORE_DIRS = [
'**/node_modules/**',
'**/.next/**',
'**/.turbo/**',
'**/.vercel/**',
'**/.git/**',
'**/coverage/**',
'**/out/**',
'**/public/**',
'**/dist/**',
'**/build/**',
];