instafeed.js library js path is incompatible with NPM asset packagist

Created on 14 May 2025, 3 days ago

Problem/Motivation

Instead of manually download the external library instafeed.js it should be possible to add it to libraries with composer.

The js path in instafeed_block.libraries.yml is currently:

/libraries/instafeed-js/dist/instafeed.min.js

Steps to reproduce

Install require oomphinc/composer-installers-extender (https://github.com/oomphinc/composer-installers-extender)

Then run:

composer require npm-asset/instafeed.js

Proposed resolution

The js path in instafeed_block.libraries.yml is should be changed to:

/libraries/instafeed.js/dist/instafeed.min.js
Feature request
Status

Active

Version

1.0

Component

Code

Created by

🇸🇪Sweden Alsén

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024