- 将所有图片路径从绝对路径改为使用 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>
26 lines
541 B
Markdown
26 lines
541 B
Markdown
# binary-extensions
|
|
|
|
> List of binary file extensions
|
|
|
|
The list is just a [JSON file](binary-extensions.json) and can be used anywhere.
|
|
|
|
## Install
|
|
|
|
```sh
|
|
npm install binary-extensions
|
|
```
|
|
|
|
## Usage
|
|
|
|
```js
|
|
const binaryExtensions = require('binary-extensions');
|
|
|
|
console.log(binaryExtensions);
|
|
//=> ['3ds', '3g2', …]
|
|
```
|
|
|
|
## Related
|
|
|
|
- [is-binary-path](https://github.com/sindresorhus/is-binary-path) - Check if a filepath is a binary file
|
|
- [text-extensions](https://github.com/sindresorhus/text-extensions) - List of text file extensions
|