mirror of
https://github.com/flarum/core.git
synced 2025-10-13 16:05:05 +02:00
Use smaller FontAwesome shim repo instead of original
components/font-awesome is ~8 MB smaller than fortawesome/font-awesome because it excludes all examples/docs. Reducing dependency filesize will be important when we want to package up a .zip for distribution.
This commit is contained in:
@@ -357,7 +357,7 @@ class InstallCommand extends AbstractCommand
|
||||
protected function publishAssets()
|
||||
{
|
||||
$this->filesystem->copyDirectory(
|
||||
$this->application->basePath().'/vendor/fortawesome/font-awesome/fonts',
|
||||
$this->application->basePath().'/vendor/components/font-awesome/fonts',
|
||||
$this->application->publicPath().'/assets/fonts'
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user