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

{"ast":null,"code":"import { warnOnce } from 'motion-utils';\nimport { useScroll } from '../use-scroll.mjs';\n\n/**\n * @deprecated useViewportScroll is deprecated. Convert to useScroll()\n */\nfunction useViewportScroll() {\n if (process.env.NODE_ENV !== \"production\") {\n warnOnce(false, \"useViewportScroll is deprecated. Convert to useScroll().\");\n }\n return useScroll();\n}\nexport { useViewportScroll };","map":{"version":3,"names":["warnOnce","useScroll","useViewportScroll","process","env","NODE_ENV"],"sources":["/Users/apple/Documents/cursor/Web课件/AI课/education_web_多Agent协作系统/node_modules/framer-motion/dist/es/value/scroll/use-viewport-scroll.mjs"],"sourcesContent":["import { warnOnce } from 'motion-utils';\nimport { useScroll } from '../use-scroll.mjs';\n\n/**\n * @deprecated useViewportScroll is deprecated. Convert to useScroll()\n */\nfunction useViewportScroll() {\n if (process.env.NODE_ENV !== \"production\") {\n warnOnce(false, \"useViewportScroll is deprecated. Convert to useScroll().\");\n }\n return useScroll();\n}\n\nexport { useViewportScroll };\n"],"mappings":"AAAA,SAASA,QAAQ,QAAQ,cAAc;AACvC,SAASC,SAAS,QAAQ,mBAAmB;;AAE7C;AACA;AACA;AACA,SAASC,iBAAiBA,CAAA,EAAG;EACzB,IAAIC,OAAO,CAACC,GAAG,CAACC,QAAQ,KAAK,YAAY,EAAE;IACvCL,QAAQ,CAAC,KAAK,EAAE,0DAA0D,CAAC;EAC/E;EACA,OAAOC,SAAS,CAAC,CAAC;AACtB;AAEA,SAASC,iBAAiB","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}