nystudio107 / craft-twigpack
Twigpack is a bridge between Twig and webpack, with manifest.json & webpack-dev-server HMR support
Package info
github.com/nystudio107/craft-twigpack
Type:craft-plugin
pkg:composer/nystudio107/craft-twigpack
Fund package maintenance!
Requires
- php: ^8.2.0
- craftcms/cms: ^5.0.0
Requires (Dev)
- craftcms/cloud: ^2.0.0
- craftcms/ecs: dev-main
- craftcms/phpstan: dev-main
- craftcms/rector: dev-main
This package is auto-updated.
Last update: 2026-06-06 22:30:11 UTC
README
Twigpack plugin for Craft CMS 5.x
Twigpack is a bridge between Twig and webpack, with manifest.json & webpack-dev-server HMR support
Related Article: An Annotated webpack 4 Config for Frontend Web Development
Requirements
This plugin requires Craft CMS 5.0.0 or later.
Installation
To install the plugin, follow these instructions.
-
Open your terminal and go to your Craft project:
cd /path/to/project -
Then tell Composer to load the plugin:
composer require nystudio107/craft-twigpack -
Install the plugin via
./craft install/plugin twigpackvia the CLI, or in the Control Panel, go to Settings → Plugins and click the “Install” button for Twigpack.
You can also install Twigpack via the Plugin Store in the Craft Control Panel.
Documentation
Click here -> Twigpack Documentation
Twigpack Roadmap
Some things to do, and ideas for potential features:
- Release it
Brought to you by nystudio107
