You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.
Using Parcel it should be possible to produce files for multiple targets.
Concept folder structure:
src
index.ts
browser.ts
wrapper.ts
Here index.ts could target Node.js and browser.ts could target the browser (without bundler). Both can import wrapper.ts to load the TypeScript wrapper API.
The text was updated successfully, but these errors were encountered:
Using Parcel it should be possible to produce files for multiple targets.
Concept folder structure:
Here
index.ts
could target Node.js andbrowser.ts
could target the browser (without bundler). Both can importwrapper.ts
to load the TypeScript wrapper API.The text was updated successfully, but these errors were encountered: