{"id":13747755,"url":"https://github.com/hotwired/stimulus-webpack-helpers","last_synced_at":"2026-03-05T01:32:56.853Z","repository":{"id":46723078,"uuid":"405940851","full_name":"hotwired/stimulus-webpack-helpers","owner":"hotwired","description":"Webpack helpers for @hotwired/stimulus.","archived":false,"fork":false,"pushed_at":"2024-09-27T06:54:40.000Z","size":66,"stargazers_count":35,"open_issues_count":3,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-08T22:15:39.053Z","etag":null,"topics":["stimulusjs","webpack"],"latest_commit_sha":null,"homepage":"https://stimulus.hotwired.dev/","language":"TypeScript","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/hotwired.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","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,"zenodo":null}},"created_at":"2021-09-13T11:14:36.000Z","updated_at":"2023-12-27T02:36:39.000Z","dependencies_parsed_at":"2024-01-13T03:06:00.825Z","dependency_job_id":"f83d83d1-228a-424b-b892-f13bc77e261b","html_url":"https://github.com/hotwired/stimulus-webpack-helpers","commit_stats":{"total_commits":8,"total_committers":3,"mean_commits":"2.6666666666666665","dds":0.375,"last_synced_commit":"7b281a196d6751fb407e8ba7fe5a45c242f38033"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/hotwired/stimulus-webpack-helpers","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hotwired%2Fstimulus-webpack-helpers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hotwired%2Fstimulus-webpack-helpers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hotwired%2Fstimulus-webpack-helpers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hotwired%2Fstimulus-webpack-helpers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hotwired","download_url":"https://codeload.github.com/hotwired/stimulus-webpack-helpers/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hotwired%2Fstimulus-webpack-helpers/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30104439,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T01:06:53.091Z","status":"ssl_error","status_checked_at":"2026-03-05T01:02:35.679Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["stimulusjs","webpack"],"created_at":"2024-08-03T06:01:41.507Z","updated_at":"2026-03-05T01:32:56.801Z","avatar_url":"https://github.com/hotwired.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"# \u003cimg src=\"assets/logo.svg?sanitize=true\" width=\"24\" height=\"24\" alt=\"Stimulus\"\u003e Stimulus Webpack Helpers\n\n## Using Stimulus Webpack Helpers\n\nCall webpack's [`require.context`](https://webpack.js.org/api/module-methods/#requirecontext) helper with the path to the folder containing your Stimulus controllers. Then, pass the resulting context to the `Application#load` method using the `definitionsFromContext` helper:\n\n```js\n// src/application.js\nimport { Application } from \"@hotwired/stimulus\"\nimport { definitionsFromContext } from \"@hotwired/stimulus-webpack-helpers\"\n\nconst application = Application.start()\nconst context = require.context(\"./controllers\", true, /\\.js$/)\napplication.load(definitionsFromContext(context))\nwindow.Stimulus = application\n```\n\n## Getting Help \u0026 Contributing Back\n\nLooking for the docs? Once you've read through the Handbook, consult the [Stimulus Reference](https://stimulus.hotwired.dev/reference/controllers) for API details.\n\nHave a question about Stimulus? Connect with other Stimulus developers on the [Hotwire Discourse](https://discuss.hotwired.dev/) community forum.\n\nFind a bug? Head over to our [issue tracker](https://github.com/hotwired/stimulus-webpack-helpers/issues) and we'll do our best to help. We love pull requests, too!\n\nWe expect all Stimulus contributors to abide by the terms of our [Code of Conduct](CODE_OF_CONDUCT.md).\n\n## Acknowledgments\n\nStimulus is [MIT-licensed](LICENSE.md) open-source software from [Basecamp](https://basecamp.com/), the creators of [Ruby on Rails](http://rubyonrails.org).\n\nContinuous integration VMs generously provided by [Sauce Labs](https://saucelabs.com/open-source).\n\n---\n\n© 2021 Basecamp, LLC.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhotwired%2Fstimulus-webpack-helpers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhotwired%2Fstimulus-webpack-helpers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhotwired%2Fstimulus-webpack-helpers/lists"}