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

Add feature flag to enable esbuild for dependencies #409

Merged
merged 1 commit into from
Apr 30, 2021

Conversation

lucasecdb
Copy link
Owner

No description provided.

Adds the experiments.esbuildDependencies flag to casterly
configuration file which enables the use of esbuild for compiling of
dependencies (not app source code), which can make builds and rebuilds a
lot faster than what is currently is.

The reason this flag does not apply to app source code is that we offer
the option to customize and change the babel configuration, which can
have some incompatibilities with esbuild (e.g. a plugin being used with
babel that doesn't exist yet for esbuild), but we didn't want to
restrict it for those who still want the performance gain. And so, for
now we will only compile the dependencies with esbuild if this flag is
enabled.
@lucasecdb lucasecdb merged commit e211d05 into main Apr 30, 2021
@lucasecdb lucasecdb deleted the esbuild-experiment branch April 30, 2021 00:32
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.

1 participant