文件名称:Learning webpack step by step
文件大小:7.85MB
文件格式:PDF
更新时间:2021-11-13 02:12:26
webpack
Why webpack? We have a bunch of different script tags and adding all these scripts. It’s looks messy and when it calls to the server to load all these scripts, that is worse for performance → Webpack gathers all these dependencies, and builds a bundle. For the SPA, you can easily split your application into multiple files and load just the code the page requires — Code Splitting Also we can transform React or ES6 into vanilla JavaScript, or preprocess SASS, LESS… to CSS.