You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 5, 2020. It is now read-only.
With unified configuration instead of using generators we can write pretty small and trivial babel plugins that will handle generating client entry init files and server entires.
Client
Read src/apps.js.
Find definition for specific app (passed via options) and store it.
Replace everything with static login from string.
Append stored app definition.
Profit - we can now directly use it (save on disk or use as a virtual module).
Server
Read src/apps.js
Add wrap values in Document, routes, reducers with require call.
Profit - we can now directly use it (save on disk or use as a virtual module).
The text was updated successfully, but these errors were encountered:
With unified configuration instead of using generators we can write pretty small and trivial babel plugins that will handle generating client entry init files and server entires.
Client
src/apps.js
.Server
src/apps.js
Document
,routes
,reducers
withrequire
call.The text was updated successfully, but these errors were encountered: