{"id":21980966,"url":"https://github.com/dimianni/my-webpack-configuration","last_synced_at":"2026-04-19T19:03:08.820Z","repository":{"id":139907723,"uuid":"366489000","full_name":"dimianni/my-webpack-configuration","owner":"dimianni","description":"My webpack 5 configuration. Built by following official documentation.","archived":false,"fork":false,"pushed_at":"2021-05-25T09:39:41.000Z","size":366,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-23T01:16:42.537Z","etag":null,"topics":["webpack","webpack-configuration","webpack5"],"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/dimianni.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":"2021-05-11T19:15:08.000Z","updated_at":"2021-05-25T09:39:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"7f6bfea4-29cf-4f63-853a-6f541b0e922c","html_url":"https://github.com/dimianni/my-webpack-configuration","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dimianni/my-webpack-configuration","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimianni%2Fmy-webpack-configuration","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimianni%2Fmy-webpack-configuration/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimianni%2Fmy-webpack-configuration/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimianni%2Fmy-webpack-configuration/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dimianni","download_url":"https://codeload.github.com/dimianni/my-webpack-configuration/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimianni%2Fmy-webpack-configuration/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32018765,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"online","status_checked_at":"2026-04-19T02:00:07.110Z","response_time":55,"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","webpack-configuration","webpack5"],"created_at":"2024-11-29T17:15:04.531Z","updated_at":"2026-04-19T19:03:08.802Z","avatar_url":"https://github.com/dimianni.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# My webpack 5 configuration.\nIt was built by following the [official Webpack documentation](https://webpack.js.org/guides/). This is a basic configuration, which is perfectly suitable for landing page development and can be easily tweaked for any needs. \n\n## To clone the repo, run the following command:\n\n```bash\ngit clone https://github.com/dimianni/my-webpack-configuration.git\n```\n\n## Installation.\n\nAfter cloning the repo, run the following command in the folder's terminal:\n\n```bash\n  npm i \n```\n\nnode_modules folder and all the dependencies will be downloaded.\n\n\n## Usage.\n\nThere are only two commands.\n\nThis will start a development server:\n```bash\nnpm run start\n```\n\nThis will create a production build:\n```bash\nnpm run build\n```\n\n## Details.\n\nThere are three webpack configuration files present: \n\n- webpack.common.js \n- webpack.dev.js \n- webpack.prod.js \n\n__common__ contains general configuration, while __dev__ and __prod__ extend it depending on the task. If *npm run start* is run, dev configuration is executed. If *npm run build* is run, prod configuration is executed. The difference between each is that dev is less optimized, which eases the development and makes npm run start execution faster.\n\n## Features.\n\nSome features of this configuration:\n\n - It knows how to handle SASS (CSS) files, all types of images and fonts. NOTE: sass files and images have to be imported to __index.js__ to be included when building.  \n - It runs JavaScript through Babel and separates vendors code. \n - It knows how to handle static files with CopyWebpackPlugin (for now, it transfers ‘inc’ folder as well as a favicon to dist). \n\nBesides, dist is configured to output classic website structure:\n\n```\n  |- /dist\n    |- index.html\n    |- favicon.ico\n    |- /js\n      | - index.js\n      | - .\n      | - .\n    |- /css\n      | - index.css\n      | - .\n      | - .\n    |- /fonts\n    |- /images\n    |- /inc\n```\n\n## Contributing\n\nPull requests are welcome. Feel free to fix any issues, and suggest any other features that this configuration could support.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimianni%2Fmy-webpack-configuration","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdimianni%2Fmy-webpack-configuration","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimianni%2Fmy-webpack-configuration/lists"}