{"id":25899229,"url":"https://github.com/bpi-steam/webpack-develop-example","last_synced_at":"2026-06-14T21:33:32.379Z","repository":{"id":106169820,"uuid":"190120231","full_name":"BPI-STEAM/webpack-develop-example","owner":"BPI-STEAM","description":"a browser component development framework example","archived":false,"fork":false,"pushed_at":"2019-06-04T09:15:24.000Z","size":186,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-03T01:32:40.942Z","etag":null,"topics":[],"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/BPI-STEAM.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":"2019-06-04T03:10:36.000Z","updated_at":"2019-06-04T09:16:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"952fe626-210c-4586-8d9f-37f351c941c3","html_url":"https://github.com/BPI-STEAM/webpack-develop-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/BPI-STEAM/webpack-develop-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BPI-STEAM%2Fwebpack-develop-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BPI-STEAM%2Fwebpack-develop-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BPI-STEAM%2Fwebpack-develop-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BPI-STEAM%2Fwebpack-develop-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BPI-STEAM","download_url":"https://codeload.github.com/BPI-STEAM/webpack-develop-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BPI-STEAM%2Fwebpack-develop-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34339195,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-14T02:00:07.365Z","response_time":62,"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":[],"created_at":"2025-03-03T01:27:44.982Z","updated_at":"2026-06-14T21:33:32.374Z","avatar_url":"https://github.com/BPI-STEAM.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# webpack-develop-example\n\n这个示例项目将提供一个本地开发浏览器组件运行环境，使用 webpack 打包，提供各类 JavaScript 使用示范，例如：设计并导出闭包对象，外部引用浏览器第三方组件，VSCODE 本地开发，近似 Js bin 的开发基础示例。\n\n![](readme.png)\n\n## ready venv\n\n```shell\nnpm i webpack webpack-cli webpack-dev-server\n```\n\n## use local file\n\n### build + watch\n\n```shell\nnode_modules/.bin/webpack -w\n```\n\n### view\n\ndist/index.html open in brower.\n\nIn VSCODE Recommend a plug-in `open in brower`.\n\n### use server file\n\n```shell\nnode_modules/.bin/webpack-dev-server\n```\n\n### view\n\nhttp://localhost:8080/dist/\n\n## Interesting thing\n\nhttps://www.v2ex.com/t/310767\n\n不要学它们， Jser 。\n\n## 说明\n\n以茉莉机器人为例，这示例提供了借用 webpack 编写 浏览器端面向对象的 JavaScript 代码供参考。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbpi-steam%2Fwebpack-develop-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbpi-steam%2Fwebpack-develop-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbpi-steam%2Fwebpack-develop-example/lists"}