{"id":18974932,"url":"https://github.com/lfb/understand-webpack","last_synced_at":"2026-05-16T08:06:11.480Z","repository":{"id":114146766,"uuid":"162091199","full_name":"lfb/understand-webpack","owner":"lfb","description":"理解webpack4笔记。Understand webpack4.0 notes.","archived":false,"fork":false,"pushed_at":"2018-12-18T07:41:14.000Z","size":166,"stargazers_count":1,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-17T08:35:19.179Z","etag":null,"topics":["webpack","webpack4"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lfb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-12-17T07:27:05.000Z","updated_at":"2018-12-18T07:41:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"04e80d0b-b8c8-4aa0-a231-b9fed86f6af6","html_url":"https://github.com/lfb/understand-webpack","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lfb/understand-webpack","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lfb%2Funderstand-webpack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lfb%2Funderstand-webpack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lfb%2Funderstand-webpack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lfb%2Funderstand-webpack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lfb","download_url":"https://codeload.github.com/lfb/understand-webpack/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lfb%2Funderstand-webpack/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273068841,"owners_count":25039911,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-01T02:00:09.058Z","response_time":120,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["webpack","webpack4"],"created_at":"2024-11-08T15:16:44.494Z","updated_at":"2026-05-16T08:06:11.404Z","avatar_url":"https://github.com/lfb.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"#### Understand Webpack\n\u003ca href=\"https://github.com/liangfengbo/understand-webpack/commits/master\"\u003e\u003cimg src=\"https://img.shields.io/badge/build-passing-brightgreen.svg\" alt=\"Build Status\"\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/liangfengbo/understand-webpack/blob/master/LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/badge/license-MIT-green.svg\" alt=\"Coverage Status\"\u003e\u003c/a\u003e\n\n#### 为什么前端需要构建？\n- 开发复杂化\n- 框架去中心化\n- 语言编译化\n- 开发模块化\n\n#### 为什么webpack？\n- 三大框架的脚手架基于webpack，如：vue-cli、react-starter、angular-cli\n- 代码分割：code-splitting\n- 天生的模块化\n\n#### 项目的node、npm、webpack版本\n```\n➜  understand-webpack git:(master) node -v\nv8.9.3\n➜  understand-webpack git:(master) npm -v\n5.5.1\n➜  understand-webpack git:(master) webpack -v\n4.5.0\n```\n\n#### Issues\n- [学习webpack4的mode](https://github.com/liangfengbo/understand-webpack/issues/1)\n- [webpack编译ES6](https://github.com/liangfengbo/understand-webpack/issues/2)\n- [webpack4-tree-shaking（代码分割） ](https://github.com/liangfengbo/understand-webpack/issues/3)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flfb%2Funderstand-webpack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flfb%2Funderstand-webpack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flfb%2Funderstand-webpack/lists"}