Skip to content

Commit e1f21c7

Browse files
authored
Merge pull request #75 from and800/master
hint about disabling asset plugin locally via composer.json
2 parents 92c0fd7 + 4b51372 commit e1f21c7

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

src/views/site/about.php

+16
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,22 @@
9999
];
100100
</code></pre>
101101

102+
<h1>Migrating from composer asset plugin</h1>
103+
104+
<p>Moving from <a href="https://github.com/fxpio/composer-asset-plugin">composer asset plugin</a> is not
105+
straightforward when you host several applications on single server. It's known that asset packagist
106+
and asset plugin don't work well together, and plugin is installed in global scope. So, to not affect
107+
other applications by deleting the plugin, you may disable the plugin locally via `composer.json`
108+
config option <i>(you need plugin version ≥ 1.3.0 for this)</i>:</p>
109+
110+
<pre><code>
111+
"config": {
112+
"fxp-asset": {
113+
"enabled": false
114+
}
115+
}
116+
</code></pre>
117+
102118
<h1>Acknowledgements</h1>
103119

104120
<p>This project uses Francois Pluchino's <a href="https://github.com/fxpio/composer-asset-plugin">composer-asset-plugin</a>

0 commit comments

Comments
 (0)