Feature: Fully offline export
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- html, javascript, typescript
- Lĩnh vực
- build-system, web-dev
Hướng nghiên cứu
Bắt đầu bằng cách lần theo quy trình export HTML và JavaScript, bao gồm headless mode và việc xử lý các dependency của import-map hoặc CDN. Xác định liệu “hoàn tất” có nghĩa là một tệp HTML tự chứa duy nhất, một tệp HTML với các dependency được sao chép cục bộ, hay cả hai, sau đó xác minh rằng kết quả đã export hoạt động mà không cần truy cập mạng.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Type of feature
✨ Feature
Current behavior
No response
Suggested feature
When building for example html and JS and then exporting it, ideally (especially for headless mode in CI-like use) there'd be a way to also get an output with all dependencies bundled into the one HTML file or perhaps the file plus the external modules copied locally. This would also simplify the prefix: import map complexity when integrating this output into other projects or deployments/automation, by being able to "vendor" the full deployment rather than inherit the complexity of pulling modules in from various 3rd party CDNs.
One use case is to have github files that are available locally. JSDelivr is good for deployment, but for dev steps, it forces a long cache unless you contact them, unless you update URLs with specific hashes of files as you update them... there's no default way to just use "latest" / @main for repos. So it could be easier for some users to export html + dependencies as a directory to rehost, or optionally one big html file with dependencies baked-in. It could also be useful to switch back to JSDelivr for prod deployments, and local paths / local github repos during dev (which can be loaded in via parent contexts using the SDK also...) Thanks
Additional context
No response
Code of Conduct
- I agree to follow this project's Code of Conduct
Contributing Docs
- I agree to follow this project's Contribution Docs
- Ngôn ngữ chính
- TypeScript
- Star
- 1.5k
- Fork
- 267
- Merge trung bình
- 7 giờ 47 phút
- Pull request đã merge (30 ngày)
- 14
Chuẩn bị môi trường
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của live-codes/livecodes
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
live-codes/livecodes#1079 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 50/100
live-codes/livecodes#1060 · 5 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 52/100
live-codes/livecodes#1009 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Release a docker imageĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
live-codes/livecodes#1004 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
I18n: HungarianĐang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
live-codes/livecodes#980 · 6 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của live-codes/livecodes
Issue tương tự
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 1 ngày
-
pending close triaging
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
anomalyco/opencode#62582 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
feature request
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
callstack/react-native-paper#5189 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Add: ESP 2 ROĐang mởapproved check:passed streams:add
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày