Skip to content

Conversation

@ftaiolivista
Copy link

Pass option to rollup-plugin-node-resolve to use browser version when specified. Would be great to support rollup & plugin options customization from pika web config

// some package.json files have a "browser" field which specifies
// alternative files to load for people bundling for the browser. If
// that's you, either use this option or add "browser" to the
// "mainfields" option, otherwise pkg.browser will be ignored
browser: true, // Default: false

@FredKSchott
Copy link
Owner

Thanks for the PR! Sorry for the delayed response, we actually merged this is a separate PR when we added support for the new "mainFields". 🎉

Still not sure if we want to shim/polyfill Node-isms, but lets follow up that discussion here: #6

Thanks again

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

Successfully merging this pull request may close these issues.

2 participants