Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Add multiple target support #1

Open
DanielleHuisman opened this issue Oct 19, 2021 · 0 comments
Open

Add multiple target support #1

DanielleHuisman opened this issue Oct 19, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@DanielleHuisman
Copy link
Member

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.

@DanielleHuisman DanielleHuisman added the enhancement New feature or request label Oct 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant