{"id":15941768,"url":"https://github.com/ewnd9/webpackman","last_synced_at":"2026-05-05T06:34:30.852Z","repository":{"id":57397511,"uuid":"51734151","full_name":"ewnd9/webpackman","owner":"ewnd9","description":"Shared webpack config files.","archived":false,"fork":false,"pushed_at":"2016-11-20T23:12:05.000Z","size":54,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-29T15:44:22.967Z","etag":null,"topics":["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/ewnd9.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}},"created_at":"2016-02-15T06:00:45.000Z","updated_at":"2017-03-05T15:21:15.000Z","dependencies_parsed_at":"2022-09-12T20:51:57.388Z","dependency_job_id":null,"html_url":"https://github.com/ewnd9/webpackman","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ewnd9%2Fwebpackman","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ewnd9%2Fwebpackman/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ewnd9%2Fwebpackman/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ewnd9%2Fwebpackman/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ewnd9","download_url":"https://codeload.github.com/ewnd9/webpackman/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247078865,"owners_count":20879953,"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":["webpack"],"created_at":"2024-10-07T07:20:52.269Z","updated_at":"2026-05-05T06:34:25.812Z","avatar_url":"https://github.com/ewnd9.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# webpackman\n\nShared webpack config files.\n\n## Install\n\n```sh\n$ npm install webpackman babel-preset-es2015 babel-preset-stage-0 -D\n```\n\n```js\n// webpack.config.js\nmodule.exports = require('webpackman/webpack.config');\n```\n\n```js\n// webpack.config.prod.js\nmodule.exports = require('webpackman/webpack.config.prod');\n```\n\n```json\n// package.json\n{\n  \"scripts\": {\n    \"start\": \"webpack-dev-server\",\n    \"build\": \"rm -rf dist \u0026\u0026 webpack --config webpack.config.prod.js\"\n  }\n}\n```\n\n```json\n// .babelrc\n{\n  \"presets\": [\"es2015\", \"stage-0\"]\n}\n```\n\n## Usage\n\n```sh\n$ npm start # start dev-server at localhost:8080\n$ npm run build # build to the dist folder\n```\n\n## Loaders\n\n### `.js`\n\n[`babel-loader`](https://github.com/babel/babel-loader)\n\n### `.css`\n\ncss files which have `components` directory in their path will be loaded as [`css-modules`](https://github.com/css-modules/css-modules)\n\n- `**/style.css` - generic css\n- `**/components/**/*.css` - `css-modules`\n\n### `.html`, `.png`, `.jpeg`, `.gif`, `.json`, `.woff2`, `.ttf`, `.eot`, `.svg`\n\nstatic loaders\n\n## Changelog\n\n- [`v0.7.0`](https://github.com/ewnd9/webpackman/tree/v0.7.0) - hash -\u003e chunkhash\n- [`v0.6.0`](https://github.com/ewnd9/webpackman/tree/v0.6.0) - remove all overloading, leave only webpack config files\n- [`v0.5.0`](https://github.com/ewnd9/webpackman/tree/v0.5.0) - add x-public-path\n- [`v0.1.0`](https://github.com/ewnd9/webpackman/tree/v0.1.0) - initial version with my opinionated react config  \n\n## Used in\n\n- [ewnd9/media-center](https://github.com/ewnd9/media-center) ([migration commit](https://github.com/ewnd9/media-center/commit/960587f1488747876b9b9a4f560b74f250eaa6ea))\n- [ewnd9/the-feed](https://github.com/ewnd9/the-feed) ([migration commit](https://github.com/ewnd9/the-feed/commit/b601e02e3d056e5f67ef4bb8ebb3700ac149c099))\n\n## Tests\n\n```js\n$ npm test\n$ NODE_ENV=test-update npm test # update screenshots\n```\n\n## Related\n\n- [create-react-app](https://github.com/facebookincubator/create-react-app)\n\n## License\n\nMIT © [ewnd9](http://ewnd9.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fewnd9%2Fwebpackman","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fewnd9%2Fwebpackman","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fewnd9%2Fwebpackman/lists"}