hnhdigital-os/laravel-php-elixir-revision

该软件包已被废弃且不再维护。未建议替代软件包。

为 Laravel PHP-Elixir 提供修订功能

v1.0.3 2018-01-25 06:19 UTC

This package is auto-updated.

Last update: 2020-01-21 15:31:04 UTC


README

__________.__          ___________.__  .__       .__        
\______   \  |__ ______\_   _____/|  | |__|__  __|__|______ 
 |     ___/  |  \\____ \|    __)_ |  | |  \  \/  /  \_  __ \
 |    |   |   Y  \  |_> >        \|  |_|  |>    <|  ||  | \/
 |____|   |___|  /   __/_______  /|____/__/__/\_ \__||__|   
               \/|__|          \/               \/          
                                             Revision Module

提供对指定文件夹的修订功能并生成清单。

修订

提供在指定文件夹位置中对文件进行修订的功能。

可用的选项

  • hash - 默认为 sha256
  • hash_length - 默认不更改哈希字符串
  • minify - 默认为 false
  • minify_cache - 默认为 true。减少30秒以上的次要使用。
  • php_manifest - 默认为 false。生成json修订文件的php等效文件。
{SOURCE_FOLDER}:
    - {DESTINATION_FOLDER}
    - {REVISION_MANIFEST_FILE}
    - {QUERY_STRING_OPTIONS}
revision:
    PATH_PUBLIC_ASSETS:
        - PATH_PUBLIC_BUILD
        - PATH_PUBLIC_BUILD + /rev-manifest.json
        - hash_length=12&minify=true&php_manifest=true