Registry / build-tool / nystudio107-craft-twigpack

nystudio107-craft-twigpack

JSON →
library5.0.0phppackagistunverified

Twigpack is a bridge between Twig and webpack, with manifest.json & webpack-dev-server HMR support.

composer require nystudio107/craft-twigpack
INSTALL
IMPORT
SIG · NYSTUDIO107-CRAFT-
N
nystudio107-craft-twigpack
build-toolphpv5.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Twigpack
use nystudio107\craft\twigpack\Twigpack;

Retrieve the URL for a webpack asset via the manifest.

use nystudio107\craft\twigpack\Twigpack; $twigpack = new Twigpack(); $assetUrl = $twigpack->getAssetUrl('app.js');
Debug
Known issues
breakingRequires Craft CMS 4+ and PHP 8.0+.
fix
Upgrade your Craft CMS and PHP versions to meet requirements.
affects: >=5.0.0
Upgrade
Version history
5.0.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
15 hits · last 30 days
node
12
Amazon
1
OpenAI (training)
1
Resources
nystudio107-craft-twigpack — pip install nystudio107-craft-twigpack · libregistry