{"id":21947712,"url":"https://github.com/valpackett/broccoli-webpack","last_synced_at":"2025-04-22T23:43:32.797Z","repository":{"id":18426556,"uuid":"21608990","full_name":"valpackett/broccoli-webpack","owner":"valpackett","description":"A Broccoli plugin for webpack","archived":false,"fork":false,"pushed_at":"2022-01-15T22:42:27.000Z","size":11,"stargazers_count":9,"open_issues_count":2,"forks_count":8,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-29T20:03:57.211Z","etag":null,"topics":["broccoli","broccoli-plugin","webpack"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/valpackett.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-07-08T10:39:35.000Z","updated_at":"2023-09-08T16:48:49.000Z","dependencies_parsed_at":"2022-09-11T04:12:37.780Z","dependency_job_id":null,"html_url":"https://github.com/valpackett/broccoli-webpack","commit_stats":null,"previous_names":["myfreeweb/broccoli-webpack"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valpackett%2Fbroccoli-webpack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valpackett%2Fbroccoli-webpack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valpackett%2Fbroccoli-webpack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valpackett%2Fbroccoli-webpack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/valpackett","download_url":"https://codeload.github.com/valpackett/broccoli-webpack/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250343754,"owners_count":21415035,"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":["broccoli","broccoli-plugin","webpack"],"created_at":"2024-11-29T05:09:22.018Z","updated_at":"2025-04-22T23:43:32.780Z","avatar_url":"https://github.com/valpackett.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# broccoli-webpack [![npm version](https://img.shields.io/npm/v/broccoli-webpack.svg?style=flat)](https://www.npmjs.org/package/broccoli-webpack) [![npm downloads](https://img.shields.io/npm/dm/broccoli-webpack.svg?style=flat)](https://www.npmjs.org/package/broccoli-webpack) [![Build Status](https://img.shields.io/travis/myfreeweb/broccoli-webpack.svg?style=flat)](https://travis-ci.org/myfreeweb/broccoli-webpack) [![Dependency Status](https://img.shields.io/gemnasium/myfreeweb/broccoli-webpack.svg?style=flat)](https://gemnasium.com/myfreeweb/broccoli-webpack) [![Unlicense](https://img.shields.io/badge/un-license-green.svg?style=flat)](http://unlicense.org)\n\nA [Broccoli] plugin for [webpack].\n\n[Broccoli]: https://github.com/joliss/broccoli\n[webpack]: https://github.com/webpack/webpack\n\n## Installation\n\n```bash\n$ npm install --save-dev broccoli-webpack\n```\n\n## Usage\n\n```js\nvar WebpackWriter = require('broccoli-webpack')\nvar js_source = 'src'\nvar js_bundler = new WebpackWriter([js_source], {\n\tentry: './main',\n\toutput: {filename: 'app.js'},\n\texternals: [{'react': 'React', 'jquery': '$'}],\n\tdevtool: 'source-map',\n\tmodule: {\n\t\tpreLoaders: [\n\t\t\t{\n\t\t\t\ttest: /\\.js$/,\n\t\t\t\tloader: \"source-map-loader\"\n\t\t\t}\n\t\t]\n\t}\n})\n```\n\nBasically, just pass a tree and a normal [webpack config].\n`context` and `output.path` will be set automatically.\nFor everything else, you're on your own :-)\n\n[webpack config]: http://webpack.github.io/docs/configuration.html\n\n## Contributing\n\nPlease feel free to submit pull requests!\n\nBy participating in this project you agree to follow the [Contributor Code of Conduct](http://contributor-covenant.org/version/1/4/).\n\n## License\n\nThis is free and unencumbered software released into the public domain.  \nFor more information, please refer to the `UNLICENSE` file or [unlicense.org](http://unlicense.org).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvalpackett%2Fbroccoli-webpack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvalpackett%2Fbroccoli-webpack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvalpackett%2Fbroccoli-webpack/lists"}