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 support for programmatic usage and client only builds (i.e. for electron target) #1019

Closed
alidcast opened this issue May 20, 2019 · 0 comments
Labels

Comments

@alidcast
Copy link

alidcast commented May 20, 2019

ref #392 and #320 (issues requesting electron support, shut down because razzle runs two bundles by default)

seems like there are two issues with using razzle with electron

  1. there's no programmatic usage
  2. there's no option to only run client bundle

would you be interested in a PR adding these two options? it would align with other SSR built tools like next.js and nuxt.js which also offer the above and thus support electron as a target

I currently have a fork that has a working version of this. it extracts some of the logic inside scripts so that the client bundle can be compiled programmatically, and has a minor change in createConfig to fix an error that was occurring in electron window.

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

No branches or pull requests

1 participant