Files
ai-course/node_modules/sass-loader/dist/options.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

65 lines
1.9 KiB
JSON

{
"title": "Sass Loader options",
"type": "object",
"properties": {
"implementation": {
"description": "The implementation of the sass to be used.",
"link": "https://github.com/webpack-contrib/sass-loader#implementation",
"anyOf": [
{
"type": "string"
},
{
"type": "object"
}
]
},
"api": {
"description": "Switch between old and modern API for `sass` (`Dart Sass`) and `Sass Embedded` implementations.",
"link": "https://github.com/webpack-contrib/sass-loader#sassoptions",
"enum": ["legacy", "modern"]
},
"sassOptions": {
"description": "Options for `node-sass` or `sass` (`Dart Sass`) implementation.",
"link": "https://github.com/webpack-contrib/sass-loader#sassoptions",
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"instanceof": "Function"
}
]
},
"additionalData": {
"description": "Prepends/Appends `Sass`/`SCSS` code before the actual entry file.",
"link": "https://github.com/webpack-contrib/sass-loader#additionaldata",
"anyOf": [
{
"type": "string"
},
{
"instanceof": "Function"
}
]
},
"sourceMap": {
"description": "Enables/Disables generation of source maps.",
"link": "https://github.com/webpack-contrib/sass-loader#sourcemap",
"type": "boolean"
},
"webpackImporter": {
"description": "Enables/Disables default `webpack` importer.",
"link": "https://github.com/webpack-contrib/sass-loader#webpackimporter",
"type": "boolean"
},
"warnRuleAsWarning": {
"description": "Treats the '@warn' rule as a webpack warning.",
"link": "https://github.com/webpack-contrib/sass-loader#warnruleaswarning",
"type": "boolean"
}
},
"additionalProperties": false
}