librarianphp / command-build
Librarian的静态构建命令
1.2.2
2023-06-20 06:18 UTC
Requires
- librarianphp/librarian-core: ^4.0
- minicli/minicli: ^4.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.16
- mockery/mockery: ^1.5
- pestphp/pest: ^2.4
This package is auto-updated.
Last update: 2024-09-20 08:50:49 UTC
README
Librarian的静态构建器命令。
./librarian build
配置要求
在Librarian的配置文件夹中添加以下static.php
配置文件
<?php return [ /***************************************************************************** * Settings for static build output ******************************************************************************/ 'output_path' => __DIR__ . '/../public', 'assets_path' => __DIR__ . '/../app/Resources/public' ];
output_path
:静态构建输出的位置assets_path
:包含应复制到生成的网站根目录中的公共资源资产的目录。