https://github.com/nystudio107/craft-twigpack
Twigpack is a bridge between Twig and webpack, with manifest.json & webpack-dev-server HMR support
https://github.com/nystudio107/craft-twigpack
asset craft-plugin craftcms hmr-support manifest-json mix revision twig webpack webpack-dev-server
Last synced: 2 months ago
JSON representation
Twigpack is a bridge between Twig and webpack, with manifest.json & webpack-dev-server HMR support
- Host: GitHub
- URL: https://github.com/nystudio107/craft-twigpack
- Owner: nystudio107
- License: mit
- Created: 2018-09-17T03:02:48.000Z (almost 7 years ago)
- Default Branch: develop-v5
- Last Pushed: 2024-04-16T18:46:25.000Z (about 1 year ago)
- Last Synced: 2025-03-29T06:04:48.567Z (3 months ago)
- Topics: asset, craft-plugin, craftcms, hmr-support, manifest-json, mix, revision, twig, webpack, webpack-dev-server
- Language: PHP
- Homepage: https://nystudio107.com/
- Size: 1010 KB
- Stars: 96
- Watchers: 5
- Forks: 22
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
[](https://scrutinizer-ci.com/g/nystudio107/craft-twigpack/?branch=v5) [](https://scrutinizer-ci.com/g/nystudio107/craft-twigpack/?branch=v5) [](https://scrutinizer-ci.com/g/nystudio107/craft-twigpack/build-status/v5) [](https://scrutinizer-ci.com/code-intelligence)
# 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](https://nystudio107.com/blog/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.
1. Open your terminal and go to your Craft project:
cd /path/to/project
2. Then tell Composer to load the plugin:
composer require nystudio107/craft-twigpack
3. Install the plugin via `./craft install/plugin twigpack` via 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](https://nystudio107.com/plugins/twigpack/documentation)
## Twigpack Roadmap
Some things to do, and ideas for potential features:
* Release it
Brought to you by [nystudio107](https://nystudio107.com/)