Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Setting the "config.fxp-asset.installer-paths" option in composer

When I run a composer update I get the following warning before it proceeds with the update.

The "extra.asset-installer-paths" option is deprecated, use the "config.fxp-asset.installer-paths" option

Where/how can I change these settings?

like image 856
natral Avatar asked Jul 07 '17 16:07

natral


1 Answers

Replace the extra.asset-installer-paths section with:

    "config": {
        "fxp-asset": {
            "installer-paths": {
                "npm-asset-library": "vendor/npm",
                "bower-asset-library": "vendor/bower"
            }
        },
    }

See Define a custom directory for the assets installation

like image 81
Christian Lescuyer Avatar answered Sep 27 '22 21:09

Christian Lescuyer