{"id":22164933,"url":"https://github.com/tgdev/webpack-scp-demo","last_synced_at":"2025-03-24T16:12:53.415Z","repository":{"id":66317250,"uuid":"167919528","full_name":"tgdev/webpack-scp-demo","owner":"tgdev","description":"The final version of the example highlighted in an article by Uday Hiwarale from ITNext on Medium","archived":false,"fork":false,"pushed_at":"2019-01-28T07:57:15.000Z","size":167,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-01-29T21:44:02.334Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tgdev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2019-01-28T07:40:41.000Z","updated_at":"2020-09-15T04:22:09.000Z","dependencies_parsed_at":"2023-05-01T06:15:19.988Z","dependency_job_id":null,"html_url":"https://github.com/tgdev/webpack-scp-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tgdev%2Fwebpack-scp-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tgdev%2Fwebpack-scp-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tgdev%2Fwebpack-scp-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tgdev%2Fwebpack-scp-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tgdev","download_url":"https://codeload.github.com/tgdev/webpack-scp-demo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245304872,"owners_count":20593626,"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","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":[],"created_at":"2024-12-02T05:11:59.282Z","updated_at":"2025-03-24T16:12:53.397Z","avatar_url":"https://github.com/tgdev.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Webpack 4 Code Splitting using SplitChunksPlugin\n\nThe final version of the example highlighted in [this fantastic article on Medium](https://itnext.io/react-router-and-webpack-v4-code-splitting-using-splitchunksplugin-f0a48f110312) by Uday Hiwarale from ITNext.\n\n## Instructions\n\n1. `yarn` to install dependencies\n2. Execute command `yarn start` for running development server and preview\n3. See network tab of console for what chunks are loaded (sync and async)\n\n## Chunks\n\nDefined in `webpack.config.js`.\n\n- **vendor**: Anything in `node_modules` (sync)\n- **common**: Any import shared between 2 or more components (sync)\n- **main**: Everything else required at runtime (sync)\n- **dynamic imports**: 1 per page route (async)\n\n## Credits\n\n- [Uday Hiwarale](https://itnext.io/@thatisuday)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftgdev%2Fwebpack-scp-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftgdev%2Fwebpack-scp-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftgdev%2Fwebpack-scp-demo/lists"}