We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Develop a Rollup plugin to resolve platform cascades/extensions.
This could be accompanied by a Webpack plugin, for web entrypoints, but extension resolving for apps could be avoided by using this code pattern:
core.js
let _module; if (typeof window !== 'undefined) { _module = require('./core.web'); } else { _module = require('./polyfill'); // JS/React only implementation e.g. render null + console.warns } module.exports = _module;
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Develop a Rollup plugin to resolve platform cascades/extensions.
This could be accompanied by a Webpack plugin, for web entrypoints, but extension resolving for apps could be avoided by using this code pattern:
core.js
The text was updated successfully, but these errors were encountered: