Skip to content

Instantly share code, notes, and snippets.

View popuguytheparrot's full-sized avatar
🦜
Hyping Solid.js

popuguy popuguytheparrot

🦜
Hyping Solid.js
View GitHub Profile
поясню:
1) Сначала выделяем все что используется более 3х раз в common асинхронный.
2) Из остатков экстрактим node_modules из всех дочерних чанков
3) Все пихаем в entry chunk
new webpack.optimize.CommonsChunkPlugin({
name: 'app',
async: 'common',