Files
ai-course/node_modules/.cache/babel-loader/aaae201f59c7c86fd45e7431403c3a78b879b4bd3f330d9b368a250881aa304c.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.9 KiB
JSON

{"ast":null,"code":"import { MotionValue, transformProps, acceleratedValues } from 'motion-dom';\nclass WillChangeMotionValue extends MotionValue {\n constructor() {\n super(...arguments);\n this.isEnabled = false;\n }\n add(name) {\n if (transformProps.has(name) || acceleratedValues.has(name)) {\n this.isEnabled = true;\n this.update();\n }\n }\n update() {\n this.set(this.isEnabled ? \"transform\" : \"auto\");\n }\n}\nexport { WillChangeMotionValue };","map":{"version":3,"names":["MotionValue","transformProps","acceleratedValues","WillChangeMotionValue","constructor","arguments","isEnabled","add","name","has","update","set"],"sources":["/Users/apple/Documents/cursor/Web课件/AI课/education_web_多Agent协作系统/node_modules/framer-motion/dist/es/value/use-will-change/WillChangeMotionValue.mjs"],"sourcesContent":["import { MotionValue, transformProps, acceleratedValues } from 'motion-dom';\n\nclass WillChangeMotionValue extends MotionValue {\n constructor() {\n super(...arguments);\n this.isEnabled = false;\n }\n add(name) {\n if (transformProps.has(name) || acceleratedValues.has(name)) {\n this.isEnabled = true;\n this.update();\n }\n }\n update() {\n this.set(this.isEnabled ? \"transform\" : \"auto\");\n }\n}\n\nexport { WillChangeMotionValue };\n"],"mappings":"AAAA,SAASA,WAAW,EAAEC,cAAc,EAAEC,iBAAiB,QAAQ,YAAY;AAE3E,MAAMC,qBAAqB,SAASH,WAAW,CAAC;EAC5CI,WAAWA,CAAA,EAAG;IACV,KAAK,CAAC,GAAGC,SAAS,CAAC;IACnB,IAAI,CAACC,SAAS,GAAG,KAAK;EAC1B;EACAC,GAAGA,CAACC,IAAI,EAAE;IACN,IAAIP,cAAc,CAACQ,GAAG,CAACD,IAAI,CAAC,IAAIN,iBAAiB,CAACO,GAAG,CAACD,IAAI,CAAC,EAAE;MACzD,IAAI,CAACF,SAAS,GAAG,IAAI;MACrB,IAAI,CAACI,MAAM,CAAC,CAAC;IACjB;EACJ;EACAA,MAAMA,CAAA,EAAG;IACL,IAAI,CAACC,GAAG,CAAC,IAAI,CAACL,SAAS,GAAG,WAAW,GAAG,MAAM,CAAC;EACnD;AACJ;AAEA,SAASH,qBAAqB","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}