Explorar o código

feat: 增加动态配置

Before hai 6 meses
pai
achega
8f1d63e65a
Modificáronse 2 ficheiros con 6 adicións e 0 borrados
  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);
+}