{"id":19862386,"url":"https://github.com/harryheman/webpack5-max","last_synced_at":"2025-05-02T04:30:44.112Z","repository":{"id":48142186,"uuid":"312512783","full_name":"harryheman/webpack5-max","owner":"harryheman","description":"Webpack 5 Boilerplate for JS/React/TS apps.","archived":false,"fork":false,"pushed_at":"2021-04-28T06:28:43.000Z","size":1063,"stargazers_count":109,"open_issues_count":0,"forks_count":24,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-06T22:37:20.027Z","etag":null,"topics":["boilerplate","bundle","bungler","config","configuration","template","webpack","webpack-5","webpack5"],"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/harryheman.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}},"created_at":"2020-11-13T08:11:36.000Z","updated_at":"2025-04-05T20:56:03.000Z","dependencies_parsed_at":"2022-08-24T09:21:58.663Z","dependency_job_id":null,"html_url":"https://github.com/harryheman/webpack5-max","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/harryheman%2Fwebpack5-max","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harryheman%2Fwebpack5-max/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harryheman%2Fwebpack5-max/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harryheman%2Fwebpack5-max/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/harryheman","download_url":"https://codeload.github.com/harryheman/webpack5-max/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251986702,"owners_count":21675950,"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":["boilerplate","bundle","bungler","config","configuration","template","webpack","webpack-5","webpack5"],"created_at":"2024-11-12T15:11:36.765Z","updated_at":"2025-05-02T04:30:43.339Z","avatar_url":"https://github.com/harryheman.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Webpack 5 Max (JS/React/TS)\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)\n\n![logo](./public/assets/icons/logo.png)\n\n### :zap: `Webpack 5 Boilerplate for JS/React/TS apps.`\n\n:link: [Demo on CodeSandbox](https://codesandbox.io/s/webpack5-max-jsreactts-j2o2u)\n\n---\n\n## Includes\n\n- 5 config files with all possible settings\n  - common\n  - common + development\n  - common + production\n  - common + production + pwa\n  - common + production + analyze\n- React Todo App example\n  - actions: add, complete, remove, edit, update\n  - filters: all, active, completed\n  - controls: mark all todos as completed, clear all completed todos\n  - state management: useContext/useReducer\n  - styling - react-bootstrap\n  - type checking - prop-types\n- HTML template with all meta \u0026 link tags for SEO\n  - don't forget to change values in HtmlWebpackPlugin templateParameters object\n- browserconfig.xml, robots.txt, sitemap.xml\n- service-worker \u0026 manifest.json\n  - don't forget to change values in manifest.json\n- netlify.toml with all security headers\n---\nYou can easily add settings for Vue or Angular components.\n\n*Vue*\n\n- install deps\n\n```bash\nyarn add -D vue-loader vue-template-compiler\n# or\nnpm i -D yarn vue-loader vue-template-compiler\n```\n\n- add following to config/webpack/common.js\n\n```js\nconst VueLoaderPlugin = require('vue-loader/lib/plugin')\n\nmodule.exports = {\n  module: {\n    rules: [\n      {\n        test: /\\.vue$/,\n        loader: 'vue-loader'\n      }\n    ]\n  },\n  plugins: [\n    new VueLoaderPlugin()\n  ]\n}\n```\n\n*Angular*\n\n- install dep\n\n```bash\nyarn add -D angular2-template-loader\n# or\nnpm i -D angular2-template-loader\n```\n\n- change following in config/webpack/common.js\n\n```js\n{\n  test: /.tsx?$/i,\n  exclude: /node_modules/,\n  use: [babelLoader, 'ts-loader', 'angular2-template-loader?keepUrl=true']\n},\n```\n\n---\n\n## Installation\n\n```bash\n# clone repo\ngit clone https://github.com/harryheman/Webpack5-Max.git\n\n# install deps\nyarn\n# or\nnpm i\n```\n\n---\n\n## Usage\n\n### Development Server\n\n```bash\nyarn start\n# or\nnpm start\n```\n\n### Production Bundle\n\n```bash\nyarn build\n# or\nnpm run build\n```\n\n### Production Bundle PWA\n\n```bash\nyarn pwa\n# or\nnpm run pwa\n```\n\n### Production Bundle Analyzer\n\n```bash\nyarn analyze\n# or\nnpm run analyze\n```\n---\n## Author\n\n[Igor Agapov](https://github.com/harryheman)\n\n---\n## License\n\nThis project is open source and available under the [MIT License](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharryheman%2Fwebpack5-max","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fharryheman%2Fwebpack5-max","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharryheman%2Fwebpack5-max/lists"}