{"id":20393467,"url":"https://github.com/fluxter/octobercms-plugin-webpack","last_synced_at":"2026-05-02T05:43:44.646Z","repository":{"id":91169638,"uuid":"301232292","full_name":"Fluxter/octobercms-plugin-webpack","owner":"Fluxter","description":"OctoberCMS Webpack Plugin","archived":false,"fork":false,"pushed_at":"2020-10-06T19:55:06.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-06-04T02:39:50.249Z","etag":null,"topics":["octobercms","octobercms-plugin","webpack"],"latest_commit_sha":null,"homepage":"https://octobercms.com/plugin/fluxter-webpack","language":"PHP","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/Fluxter.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":"2020-10-04T21:36:18.000Z","updated_at":"2021-06-10T16:12:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"cd3bab8b-bcc6-425e-8980-9a7436d6bbfb","html_url":"https://github.com/Fluxter/octobercms-plugin-webpack","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Fluxter/octobercms-plugin-webpack","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fluxter%2Foctobercms-plugin-webpack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fluxter%2Foctobercms-plugin-webpack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fluxter%2Foctobercms-plugin-webpack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fluxter%2Foctobercms-plugin-webpack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Fluxter","download_url":"https://codeload.github.com/Fluxter/octobercms-plugin-webpack/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fluxter%2Foctobercms-plugin-webpack/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32524565,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-02T01:12:54.858Z","status":"online","status_checked_at":"2026-05-02T02:00:05.923Z","response_time":132,"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":["octobercms","octobercms-plugin","webpack"],"created_at":"2024-11-15T03:48:57.871Z","updated_at":"2026-05-02T05:43:44.630Z","avatar_url":"https://github.com/Fluxter.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Webpack Plugin for OctoberCMS\n\n## Prepare your theme\n1. Create a themes/[YourTheme]/webpack.config.js (We are using Symfony Webpack Encore)\n   ```js\n   Encore\n        .setOutputPath('./assets/build/')\n        .setPublicPath('/themes/[YourTheme]/assets/build')\n   ```\n2. Add the build directory\n3. Build your theme\n4. Go on by implementing the tags\n\n## Using the plugin\n\n### Implement via functions\nUse the following minimal skeleton or adapt it\n```html\n\u003c!DOCTYPE html\u003e\n\u003chtml\u003e\n\t\u003chead\u003e\n\t\t{{ webpack_styles(\"app\", \"assets/build/entrypoints.json\") }}\n\t\u003c/head\u003e\n\n\t\u003cbody\u003e\n\t\t{{ webpack_scripts(\"app\", \"assets/build/entrypoints.json\") }}\n\t\u003c/body\u003e\n\u003c/html\u003e\n```\n\n### Implement via component\nUse the following minimal skeleton or adapt it\n```html\n[webpackStyles]\nentrypointsFile = \"assets/build/entrypoints.json\" // Default\nentrypoint = \"app\" // Default\n[webpackScripts]\nentrypointsFile = \"assets/build/entrypoints.json\" // Default\nentrypoint = \"app\" // Default\n==\n\u003c!DOCTYPE html\u003e\n\u003chtml\u003e\n\t\u003chead\u003e\n\t\t{% component 'webpackStyles' %}\n\t\u003c/head\u003e\n\n\t\u003cbody\u003e\n\t\t{% component 'webpackScripts' %}\n\t\u003c/body\u003e\n\u003c/html\u003e\n```\n\n## Configuration\nYou can configure it, by just change the values given in the examples above. These can be left blank, to use the default values","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffluxter%2Foctobercms-plugin-webpack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffluxter%2Foctobercms-plugin-webpack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffluxter%2Foctobercms-plugin-webpack/lists"}