- 将所有图片路径从绝对路径改为使用 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>
1 line
1.0 KiB
JSON
1 line
1.0 KiB
JSON
{"ast":null,"code":"import { resizeElement } from './handle-element.mjs';\nimport { resizeWindow } from './handle-window.mjs';\nfunction resize(a, b) {\n return typeof a === \"function\" ? resizeWindow(a) : resizeElement(a, b);\n}\nexport { resize };","map":{"version":3,"names":["resizeElement","resizeWindow","resize","a","b"],"sources":["/Users/apple/Documents/cursor/Web课件/AI课/education_web_多Agent协作系统/node_modules/motion-dom/dist/es/resize/index.mjs"],"sourcesContent":["import { resizeElement } from './handle-element.mjs';\nimport { resizeWindow } from './handle-window.mjs';\n\nfunction resize(a, b) {\n return typeof a === \"function\" ? resizeWindow(a) : resizeElement(a, b);\n}\n\nexport { resize };\n"],"mappings":"AAAA,SAASA,aAAa,QAAQ,sBAAsB;AACpD,SAASC,YAAY,QAAQ,qBAAqB;AAElD,SAASC,MAAMA,CAACC,CAAC,EAAEC,CAAC,EAAE;EAClB,OAAO,OAAOD,CAAC,KAAK,UAAU,GAAGF,YAAY,CAACE,CAAC,CAAC,GAAGH,aAAa,CAACG,CAAC,EAAEC,CAAC,CAAC;AAC1E;AAEA,SAASF,MAAM","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]} |