developit / developit/workerize

Accept a module path instead of code string?

未關閉
#43 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
JavaScript
星號
4.4k
分支
87
PR 合併指標
30 天內沒有已合併 PR

描述

It seems this library current accepts code string (and somehow tries to convert it to CommonJS 🤔) but can it accept a module path? I guess it should be possible to generate a code to import the module from the given path.

貢獻指南

這個儲存庫沒有索引到貢獻指南

研究方向

首先閱讀函式庫的公開 API 和目前的 code-string 轉換路徑,以了解如何載入 worker 模組。確定應如何接受模組路徑,以及產生的 import 程式碼應如何運作,然後驗證新的基於路徑的用法與現有的 code-string 行為。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
javascript
領域
web-dev
Issue 類型
功能
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。