Created by: viankakrisna
POC for https://github.com/facebookincubator/create-react-app/issues/913
currently, it uses node_modules/.cache/dll
for storing cached vendor builds and add src/index.dll.js
entry point for requiring dependencies. It also hashes the filenames so it is safe to use in production.
Todos:
-
Cleaner index.html. Reference the vendor on build times -
Show vendor build file size -
Enhance eject experience -
Cleaner log message <-- need feedback -
Update the docs -
Figure out a better place to store the vendor build. Using public/vendor not quite intuitive -
Only use this feature if user have a index.dll.js in their ./src folder