()
| 16 | * VERSION is read from package.json to avoid version drift. |
| 17 | */ |
| 18 | export function getMacroDefines(): Record<string, string> { |
| 19 | return { |
| 20 | 'MACRO.VERSION': JSON.stringify(pkg.version), |
| 21 | 'MACRO.BUILD_TIME': JSON.stringify(new Date().toISOString()), |
| 22 | 'MACRO.FEEDBACK_CHANNEL': JSON.stringify(''), |
| 23 | 'MACRO.ISSUES_EXPLAINER': JSON.stringify(''), |
| 24 | 'MACRO.NATIVE_PACKAGE_URL': JSON.stringify(''), |
| 25 | 'MACRO.PACKAGE_URL': JSON.stringify(''), |
| 26 | 'MACRO.VERSION_CHANGELOG': JSON.stringify(''), |
| 27 | } |
| 28 | } |
| 29 | |
| 30 | /** |
| 31 | * Default feature flags enabled in both Bun.build and Vite builds. |
no outgoing calls
no test coverage detected