Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Missing browser compatibility layer (Next.js)

Đang mở
#9 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

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
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Lĩnh vực
backend, build-system

Hướng nghiên cứu

Start by checking the SDK entry points and build configuration to locate imports of Node-specific modules such as fs and https. Then assess how the package exposes its current bundle and whether a browser-compatible entry point can be built; done means a browser import like openapi-sdk/browser works in the stated client-side contexts.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

enhancement
🧠 Missing browser compatibility layer

Labels: feature, isomorphic
Framework context: Next.js (client-side calls in app/ or pages/api)

Description:
The SDK imports Node-specific modules like fs and https, making it incompatible with browser contexts (e.g., when used from Next.js client code or Remix loaders).

Expected:
Provide a separate ESM bundle or an isomorphic build compatible with both Node.js and browser environments.

Example:

import Openapi from "openapi-sdk/browser";
Ngôn ngữ chính
JavaScript
Star
20
Fork
1
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của openapi/openapi-nodejs-sdk

Tất cả issue của openapi/openapi-nodejs-sdk

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.