Browse Source

feat: 增加动态配置

Before 6 tháng trước cách đây
mục cha
commit
8f1d63e65a
2 tập tin đã thay đổi với 6 bổ sung0 xóa
  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);
+}