mirror of
https://github.com/hanzoai/vite.git
synced 2026-10-30 19:36:16 +00:00
8 lines
221 B
JavaScript
8 lines
221 B
JavaScript
import('./dep-cjs-with-json/importer.cjs')
|
|
.then((mod) => {
|
|
self.postMessage({ ok: true, content: JSON.stringify(mod.content) })
|
|
})
|
|
.catch((err) => {
|
|
self.postMessage({ ok: false, error: String(err) })
|
|
})
|