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

Support package.json browser field #41

Open
xjamundx opened this issue May 3, 2016 · 3 comments
Open

Support package.json browser field #41

xjamundx opened this issue May 3, 2016 · 3 comments

Comments

@xjamundx
Copy link

xjamundx commented May 3, 2016

Browserify and I believe webpack support the browser field in the package.json for aliases. Any chance you could as well. I'm all about re-using existing config if possible :)

@tleunen
Copy link
Owner

tleunen commented May 3, 2016

Hmm... So moving the alias configuration in browser instead?

I know we can setup babel inside package.json as well, so what would be the benefit of this browser field instead of the babel field?

@xjamundx
Copy link
Author

xjamundx commented May 3, 2016

Oh just interoperability between other build tools. It has a full spec here:
https://github.com/defunctzombie/package-browser-field-spec

@tleunen
Copy link
Owner

tleunen commented May 4, 2016

I see... It's a file to file mapping. Yes we can probably add this to the package. Shouldn't be that hard I guess... Any help is welcome ;)

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

No branches or pull requests

2 participants