GitShow/antfu/vite-plugin-remote-assets
antfu

vite-plugin-remote-assets

Bundles your assets from remote urls with your app

by antfu
vitevite-plugin
Star on GitHubForknpm

TypeScript

152 stars13 forks5 contributorsQuiet · 1y agoSince 2021v2.1.0MIT

Meet the team

See all 5 on GitHub →
antfu
antfu55 contributions
caiquecastro
caiquecastro1 contribution
nekomeowww
nekomeowww1 contribution
ngalaiko
ngalaiko1 contribution
micaiguai
micaiguai1 contribution

Languages

View on GitHub →
TypeScript91.4%
HTML4.2%
Vue3.6%
JavaScript0.8%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

5 of 6 standards met

Community profile →
85
✓README✓License✓Contributing✓Code of Conduct○Issue Template✓PR Template

Recent PRs & issues

Quiet · 6 discussions · Last activity 1y ago
See all on GitHub →
bugproof
Doesn't work with urls that have query parametersOpenIssue

Describe the bug lets say when url has then it doesn't work, I used custom regex to try to make this work but: Reproduction just append some query param System Info Used Package Manager pnpm Validations [x] Follow our Code of Conduct [x] Read the Contributing Guide. [x] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate. [x] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead. [x] The provided reproduction is a minimal reproducible of the bug. Contributions [ ] I am willing to submit a PR to fix this issue [ ] I am willing to submit a PR with failing tests (actually just go ahead and do it, thanks!)

bugproof · 1y ago
FelixElfering
Ability to set directory for new local URLsOpenIssue

Clear and concise description of the problem Frameworks such as SvelteKit require static files to be in a directory, but when referencing them in code, the portion of the file path is left out. Ex: file stored in will be referenced as `` tag. Suggested solution An additional option to set the new URL directory. Validations [X] Follow our Code of Conduct [X] Read the Contributing Guide. [X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

FelixElfering · 2y ago
mdechdee
Incorrect assets path when using React production modeOpenIssue

Describe the bug Hi, I tried using this plugin to change cdn path into bundled assets in React. the provided option for the plugin was I expect the transpiled path from to be so that the build will get the image from public folder but we got which is expected, but then we have no way to provide the path relative to dist folder here is a screenshot of react build !image as you can see that the bottom most vite logo is missing, and on the right hand side the path is relative. but for Vue buid !image (1) the logo appeared and the path is correct Reproduction https://github.com/zakuru/vite-plugin-remote-assets/tree/main/example System Info Used Package Manager pnpm Validations [X] Follow our Code of Conduct [X] Read the Contributing Guide. [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate. [X] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead. [X] The provided reproduction is a minimal reproducible of the bug.

mdechdee · 2y ago

Recent fixes

View closed PRs →
micaiguai
feat: support webp assetsMergedPR

Description When i use webp-formatted remote assets, the assets don't appear in dist folder after build. Linked Issues None Additional context None

micaiguai · 1y ago
nekomeowww
feat: bump dependencies, migrate to Vite 6MergedPR

Description Bump dependencies Migrate to Vite 6 Linked Issues Additional context

nekomeowww · 1y ago
FelixElfering
feat: url directory optionMergedPR

Description Adds option to set a directory for the newly generated urls as an alternative to the relative or absolute paths. Linked Issues #9

FelixElfering · 2y ago
Structured data for AI agents

Repository: antfu/vite-plugin-remote-assets. Description: Bundles your assets from remote urls with your app Stars: 152, Forks: 13. Primary language: TypeScript. Languages: TypeScript (91.4%), HTML (4.2%), Vue (3.6%), JavaScript (0.8%). License: MIT. Topics: vite, vite-plugin. Latest release: v2.1.0 (1y ago). Open PRs: 0, open issues: 6. Last activity: 1y ago. Community health: 85%. Top contributors: antfu, caiquecastro, nekomeowww, ngalaiko, micaiguai.

·@ofershap

Replace github.com with gitshow.dev