{"id":23901546,"url":"https://github.com/a1exalexander/webpack-static","last_synced_at":"2026-04-28T23:38:08.204Z","repository":{"id":114516152,"uuid":"228187478","full_name":"a1exalexander/webpack-static","owner":"a1exalexander","description":"📦. Webpack config for static websites","archived":false,"fork":false,"pushed_at":"2020-09-25T11:44:29.000Z","size":603,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-22T02:48:27.406Z","etag":null,"topics":["css","html","js","pug","static-website","webpack"],"latest_commit_sha":null,"homepage":"","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/a1exalexander.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-12-15T13:19:14.000Z","updated_at":"2020-09-25T11:43:08.000Z","dependencies_parsed_at":"2023-05-17T16:30:29.036Z","dependency_job_id":null,"html_url":"https://github.com/a1exalexander/webpack-static","commit_stats":null,"previous_names":[],"tags_count":1,"template":true,"template_full_name":null,"purl":"pkg:github/a1exalexander/webpack-static","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a1exalexander%2Fwebpack-static","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a1exalexander%2Fwebpack-static/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a1exalexander%2Fwebpack-static/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a1exalexander%2Fwebpack-static/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/a1exalexander","download_url":"https://codeload.github.com/a1exalexander/webpack-static/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a1exalexander%2Fwebpack-static/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278259573,"owners_count":25957511,"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-10-04T02:00:05.491Z","response_time":63,"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":["css","html","js","pug","static-website","webpack"],"created_at":"2025-01-04T21:50:31.840Z","updated_at":"2025-10-04T03:28:32.438Z","avatar_url":"https://github.com/a1exalexander.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Webpack config for static pages (Landing pages)\n\n\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://github.com/webpack/webpack\"\u003e\n    \u003cimg width=\"200\" height=\"200\" src=\"https://webpack.js.org/assets/icon-square-big.svg\"\u003e\n  \u003c/a\u003e\n\u003c/div\u003e\n\nWebpack is a module bundler. Its main purpose is to bundle JavaScript files for usage in a browser, yet it is also capable of transforming, bundling, or packaging just about any resource or asset.\n\n- **template**: HTML, PUG\n- **styles**: CSS, SCSS\n\n## Installation\n\n```bash\nnpx degit a1exalexander/webpack-static my-new-project\ncd my-new-project\nnpm install\n```\n\n## Usage\n\n#### Dev server\n```bash\nnpm start \n```\nor\n```bash\nnpm run dev \n```\n\u003e Runs the app in the development mode.\u003cbr /\u003e\n\u003e Open [http://localhost:3000](http://localhost:3000) to view it in the browser.\n\u003e \n\u003e The page will reload if you make edits.\u003cbr /\u003e\n\u003e You will also see any lint errors in the console.\n\n#### Build\n```bash\nnpm run build \n```\n\n\u003e Builds the app for production to the `dist` folder.\u003cbr /\u003e\n\u003e It correctly bundles in production mode and optimizes the build for the best performance.\n\u003e\n\u003e The build is minified and the filenames include the hashes.\u003cbr /\u003e\n\u003e Your app is ready to be deployed!\n\n#### Check HTML\n\n```bash\nnpm run validate \n```\n\n\u003e Run w3c validator\n\n\n### Directory layout\n\n    .\n    ├── dist                   # Compiled files\n    ├── src                    # Source files\n      ├── assets               # Assets (Images/fonts/svg/...)\n        ├── fonts\n        ├── images\n        ├── svg\n      ├── js                   # Entry JS files\n        ├── source             # Source for JS entries (modules/services/data/libraries)\n      ├── public               # Favicons, webmanifest and other\n      ├── scss\n      ├── static               # sitemap, robots adn other\n    ├── webpack                # Webpack config\n    ├── .htmlvalidate.json     # w3c validator config\n    ├── .prettierrc            # Prettier config\n    ├── .editorconfig          # Editor config\n    ├── .gitignore             # Git ignore rules\n    └── README.md\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa1exalexander%2Fwebpack-static","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fa1exalexander%2Fwebpack-static","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa1exalexander%2Fwebpack-static/lists"}