- 将所有图片路径从绝对路径改为使用 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>
41 lines
646 B
JSON
41 lines
646 B
JSON
{
|
|
"name": "strip-final-newline",
|
|
"version": "2.0.0",
|
|
"description": "Strip the final newline character from a string/buffer",
|
|
"license": "MIT",
|
|
"repository": "sindresorhus/strip-final-newline",
|
|
"author": {
|
|
"name": "Sindre Sorhus",
|
|
"email": "sindresorhus@gmail.com",
|
|
"url": "sindresorhus.com"
|
|
},
|
|
"engines": {
|
|
"node": ">=6"
|
|
},
|
|
"scripts": {
|
|
"test": "xo && ava"
|
|
},
|
|
"files": [
|
|
"index.js"
|
|
],
|
|
"keywords": [
|
|
"strip",
|
|
"trim",
|
|
"remove",
|
|
"delete",
|
|
"final",
|
|
"last",
|
|
"end",
|
|
"file",
|
|
"newline",
|
|
"linebreak",
|
|
"character",
|
|
"string",
|
|
"buffer"
|
|
],
|
|
"devDependencies": {
|
|
"ava": "^0.25.0",
|
|
"xo": "^0.23.0"
|
|
}
|
|
}
|