bluora / laravel-php-elixir-revision
v1.0.3
2018-01-25 06:19 UTC
Requires
- hnhdigital-os/laravel-php-elixir: ~3.0
- matthiasmullie/minify: ~1.3.0
Requires (Dev)
- codeclimate/php-test-reporter: dev-master
- illuminate/database: 4.*|5.*
- phpunit/phpunit: 5.*
- symfony/process: ~2.3
This package is not auto-updated.
Last update: 2022-02-01 13:04:39 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