瀏覽代碼

feat: 增加动态配置

Before 6 月之前
父節點
當前提交
8f1d63e65a
共有 2 個文件被更改,包括 6 次插入0 次删除
  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);
+}