What does webpack do if you only have an entry point to a file that requires another file and a package like react? Will it bundle the 2 files and react into one bundle file? Does it only bundle packages that are required somewhere along the way after it hits your entry point? Or does it look for a directory called node_modules in your root directory and automatically up everything in there too?
via stackjlei
No comments:
Post a Comment