{"id":23545187,"url":"https://github.com/dgeibi/wtf-webpack-config","last_synced_at":"2025-07-11T10:40:17.761Z","repository":{"id":57400163,"uuid":"99237033","full_name":"dgeibi/wtf-webpack-config","owner":"dgeibi","description":null,"archived":false,"fork":false,"pushed_at":"2017-09-22T12:54:32.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-28T04:43:19.066Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dgeibi.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":"2017-08-03T13:45:05.000Z","updated_at":"2017-08-03T15:03:47.000Z","dependencies_parsed_at":"2022-09-05T03:30:25.874Z","dependency_job_id":null,"html_url":"https://github.com/dgeibi/wtf-webpack-config","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dgeibi/wtf-webpack-config","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgeibi%2Fwtf-webpack-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgeibi%2Fwtf-webpack-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgeibi%2Fwtf-webpack-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgeibi%2Fwtf-webpack-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dgeibi","download_url":"https://codeload.github.com/dgeibi/wtf-webpack-config/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgeibi%2Fwtf-webpack-config/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264396643,"owners_count":23601544,"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-26T08:15:24.094Z","updated_at":"2025-07-11T10:40:17.700Z","avatar_url":"https://github.com/dgeibi.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wtf-webpack-config\n\nLike [webpack-chain](https://github.com/mozilla-neutrino/webpack-chain) but the API is much simpler.\n\n## Install\n\n```\n$ npm install wtf-webpack-config\n```\n\n## Usage\n\n``` js\nconst path = require('path');\nconst publicPath = 'dist';\nconst assetPath = 'asset';\n\nconst config = new Config({\n  entry: './src/index.js',\n  output: {\n    path: path.resolve(__dirname, publicPath, assetPath),\n    filename: 'bundle.js',\n    publicPath: `${assetPath}/`,\n  },\n  devServer: {\n    contentBase: path.resolve(__dirname, publicPath),\n  },\n});\n\nconfig.use(config =\u003e {\n  // do something with config or config.config.\n});\n\nmodule.exports = config.toConfig();\n```\n\nSee more [examples](examples)\n\n## LICENSE\n\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdgeibi%2Fwtf-webpack-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdgeibi%2Fwtf-webpack-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdgeibi%2Fwtf-webpack-config/lists"}