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

📝 TRACKING: Webnative Build Tool and Bundler Support #293

Open
bgins opened this issue Sep 30, 2021 · 0 comments
Open

📝 TRACKING: Webnative Build Tool and Bundler Support #293

bgins opened this issue Sep 30, 2021 · 0 comments

Comments

@bgins
Copy link
Member

bgins commented Sep 30, 2021

This issue tracks webnative compatibility with build tools, bundlers, and frameworks. It should be treated as a living document and a reference point for developers using webnative.

Comment on this issue if you are using a build tool, bundler, or framework that isn't listed here. In particular, let us know:

  • Can you use webnative in local development mode?
  • Can you build your application?

If you are unable to do the above, please open a separate issue with a reproduction and reference it here. The complexity of reproduction will depend on the tool, but in most cases this will be an example repository that we can quickly assess.

Reproductions should follow the spirit of a Short, Self Contained, Correct (Compilable), Example. Some of these guidelines do not translate directly. For example, the example might not actually compile, but setup and instructions for how to build should be included. In general, we are looking for a short example that demonstrates local development, build, or bundling issues with the latest version of webnative.


Last updated to reflect build tool and bundler support in webnative 0.34.1.


Build tools and bundlers

Vite

[x] Local Development
[x] Build

Examples

Issues

Requires the NPM events package to be installed as a dev dependency.

Parcel 2

[ ] Local Development
[ ] Build

Issues

Not currently supported because Parcel does not support exports map. See parcel-bundler/parcel#4155 for more details.

Webpack 5

[x] Local Development
[x] Build

Examples

Issues

The build may have trouble when using the default minifier terser.

An alternative tool such as esbuild can be used for minification. You can reconfigure the terser (https://webpack.js.org/plugins/terser-webpack-plugin/#terseroptions) to not minimize

module.exports = {
  optimization: { minimize: false }
}

Estrella (esbuild)

[ ] Local Development
[x] Build

Examples

Issues

None known.

Frameworks

Create React App 5

[x] Local Development
[x] Build

Examples

Issues

None known.

@expede expede pinned this issue Sep 30, 2021
@expede expede changed the title Webnative compatibility 📝 TRACKING: webnative compatibility Oct 26, 2021
@bgins bgins changed the title 📝 TRACKING: webnative compatibility 📝 TRACKING: Webnative Build Tool and Bundler Support Sep 7, 2022
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

1 participant