twig.js: Bower distribution missing

After updating from an older version to 0.9.5, through the bower package manager, there doesn’t appear to be anything to load or require into JavaScript.

I’m not sure if I’m doing anything wrong, my bower json configuration is just

"twig.js": ">=0.5.8",

As far as I can tell, the bin, lib and src directories are ignored from bower.json, and this wasn’t a problem when twig.js and twig.min.js were being built into the main directory, but that doesn’t appear to be the case any more.

Is bower not supported any more? Or am I not configuring something correctly?

Thanks in advance.

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 17 (10 by maintainers)

Most upvoted comments

@alborq as an end user, there’s nothing you can do to solve this right now. If we can interest someone who knows their way around Bower, we’ll hopefully be able to keep the package updated. Sorry that wasn’t the answer you were hoping for.

If you can use gulp, there’s gulp-twig. Note that as of this writing you’ll need to use this fork to get the latest twig.js - in your package.json that’s

"gulp-twig": "olets/gulp-twig.git#update-dependencies"