Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RFC] Discuss WASM, WASM Fallback package resolution support #8

Open
TheLarkInn opened this issue Mar 25, 2017 · 2 comments
Open

[RFC] Discuss WASM, WASM Fallback package resolution support #8

TheLarkInn opened this issue Mar 25, 2017 · 2 comments

Comments

@TheLarkInn
Copy link

We are getting closer and closer to seeing the environment start to support Web Assembly module support. I think there is great merit to get a head of the curve in implementing the specification for wasm and wasm-fallback field support so that we don't have a variety of resolution patterns etc.

I would assume we have to take in consideration:

  • assembly: field?
  • node fallback vs browser fallback ?
  • is separate fallback field from module or main?

//CC @nolanlawson @guybedford @sokra @jhnns @substack

@nolanlawson
Copy link

I think it's time for a single repo or GitHub org to document all these package.json extensions, including ad-hoc community ones. If nothing else, it's useful to track their support in various bundlers, and to have a shared space where bundler authors and the community can discuss the tradeoffs of one system vs another.

E.g. all these fields:

package.json is quickly becoming the shared commons where bundlers collaborate on "standards." But, like web standards, I think there ought to be one space where the spec can live. package-browser-field-spec is a great start; can we move it to a new community org, extend it, etc.?

Sorry for derailing the conversation, but it just seems to me that "assembly" is a good time to discuss this. 😃 Especially as many of these fields interact with each other (e.g. "module" with "browser"), it'll become increasingly important to have one standard to point to.

/cc @Rich-Harris

@jhnns
Copy link

jhnns commented Mar 27, 2017

A common standard definitely makes sense. It should be very simple though 😁

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants