Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider using "replace" instead of "provide" #1

Closed
cebe opened this issue Mar 14, 2016 · 1 comment
Closed

Consider using "replace" instead of "provide" #1

cebe opened this issue Mar 14, 2016 · 1 comment

Comments

@cebe
Copy link
Owner

cebe commented Mar 14, 2016

This may make it work even if composer-asset-plugin is installed.

https://getcomposer.org/doc/04-schema.md#replace

@cebe
Copy link
Owner Author

cebe commented Apr 24, 2017

Seems this works better and even if asset plugin is installed:

{
    "require": {
        "yiisoft/yii2": "~2.0.11"
    },
    "replace": {
   		"bower-asset/jquery": "*",
   		"bower-asset/jquery.inputmask": "*",
   		"bower-asset/punycode": "*",
   		"bower-asset/yii2-pjax": "*"
   	},
    "conflict": {
   		"bower-asset/jquery": "*",
   		"bower-asset/jquery.inputmask": "*",
   		"bower-asset/punycode": "*",
   		"bower-asset/yii2-pjax": "*"
   	}
}

@cebe cebe closed this as completed in d1e8631 Aug 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant