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

Create HMR Module for App #2682

Open
utf94 opened this issue Mar 28, 2022 · 0 comments
Open

Create HMR Module for App #2682

utf94 opened this issue Mar 28, 2022 · 0 comments
Assignees

Comments

@utf94
Copy link
Contributor

utf94 commented Mar 28, 2022

Strategy for HMR

  • Mark node_modules as external so rollup don't compile or bundle them
  • Serve node_modules through server and module_rewrite
  • Do manual chunking based on folder in the application
  • Emit files which are not built-in the application
  • Server watch for the file changes and reload the application on file changes.

Food for thought (Plugins that may/may-not help)

This was linked to pull requests Mar 28, 2022
@utf94 utf94 self-assigned this Mar 29, 2022
@utf94 utf94 linked a pull request Mar 29, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant