Files
ai-course/node_modules/.cache/babel-loader/cd8538392c21998bc0620f1544ba34ec352f5284d5736c1138a1321ec9ad86f2.json
KQL ce6aa207e9 fix: 修复图片路径以适配GitHub Pages base path
- 将所有图片路径从绝对路径改为使用 process.env.PUBLIC_URL
- 修复 HomePage.tsx 中所有图片引用
- 修复 CoursePage.tsx 中所有图片引用
- 确保图片在 GitHub Pages 上正确加载

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-04 09:24:45 +08:00

1 line
1.6 KiB
JSON

{"ast":null,"code":"import { useInsertionEffect } from 'react';\nfunction useMotionValueEvent(value, event, callback) {\n /**\n * useInsertionEffect will create subscriptions before any other\n * effects will run. Effects run upwards through the tree so it\n * can be that binding a useLayoutEffect higher up the tree can\n * miss changes from lower down the tree.\n */\n useInsertionEffect(() => value.on(event, callback), [value, event, callback]);\n}\nexport { useMotionValueEvent };","map":{"version":3,"names":["useInsertionEffect","useMotionValueEvent","value","event","callback","on"],"sources":["/Users/apple/Documents/cursor/Web课件/AI课/education_web_多Agent协作系统/node_modules/framer-motion/dist/es/utils/use-motion-value-event.mjs"],"sourcesContent":["import { useInsertionEffect } from 'react';\n\nfunction useMotionValueEvent(value, event, callback) {\n /**\n * useInsertionEffect will create subscriptions before any other\n * effects will run. Effects run upwards through the tree so it\n * can be that binding a useLayoutEffect higher up the tree can\n * miss changes from lower down the tree.\n */\n useInsertionEffect(() => value.on(event, callback), [value, event, callback]);\n}\n\nexport { useMotionValueEvent };\n"],"mappings":"AAAA,SAASA,kBAAkB,QAAQ,OAAO;AAE1C,SAASC,mBAAmBA,CAACC,KAAK,EAAEC,KAAK,EAAEC,QAAQ,EAAE;EACjD;AACJ;AACA;AACA;AACA;AACA;EACIJ,kBAAkB,CAAC,MAAME,KAAK,CAACG,EAAE,CAACF,KAAK,EAAEC,QAAQ,CAAC,EAAE,CAACF,KAAK,EAAEC,KAAK,EAAEC,QAAQ,CAAC,CAAC;AACjF;AAEA,SAASH,mBAAmB","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}