Prechádzať zdrojové kódy

feat: 增加动态配置

Before 6 mesiacov pred
rodič
commit
8f1d63e65a
2 zmenil súbory, kde vykonal 6 pridanie a 0 odobranie
  1. 3 0
      scripts/config.ts
  2. 3 0
      src/instrumentation.ts

+ 3 - 0
scripts/config.ts

@@ -0,0 +1,3 @@
+export const initConfig = () => {
+    console.log(`🚀🚀🚀🚀🚀-> in config.js on 1`, 1);
+};

+ 3 - 0
src/instrumentation.ts

@@ -0,0 +1,3 @@
+export async function register() {
+    console.log(`🚀🚀🚀🚀🚀-> in Instrumentation.ts on 3`, 1);
+}