Skip to content
This repository was archived by the owner on Feb 13, 2020. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ config/asset-merger.php configuration file has a bunch of settings. Typical conf
'merge' => Kohana::PRODUCTION,
'folder' => "assets",
"load_paths" => array(
Assets::JAVASCRIPT => DOCROOT.'js'.DIRECTORY_SEPARATOR,
Assets::STYLESHEET => DOCROOT.'css'.DIRECTORY_SEPARATOR,
Assets::JAVASCRIPT => array( DOCROOT.'js'.DIRECTORY_SEPARATOR ),
Assets::STYLESHEET => array( DOCROOT.'css'.DIRECTORY_SEPARATOR ),
),
'processor' => array(
Assets::STYLESHEET => 'cssmin'
Expand All @@ -127,7 +127,7 @@ __folder__:
The URL to the folder that will contain the assets. Will be automatically generated if it's not present in the file system. Must be inside DOCROOT.

__load_paths__:
Where to search for files. The CSS and JS files have different directories. Each can be an array of directories.
Where to search for files. The CSS and JS files have different directories. Each is an array of directories.

__processor__:
The default processor to be used on each type. This can be overridden for any individual file.
Expand Down
6 changes: 3 additions & 3 deletions config/asset-merger.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
'merge' => array(Kohana::PRODUCTION, Kohana::STAGING),
'folder' => 'assets',
'load_paths' => array(
Assets::JAVASCRIPT => DOCROOT.'js'.DIRECTORY_SEPARATOR,
Assets::STYLESHEET => DOCROOT.'css'.DIRECTORY_SEPARATOR,
Assets::JAVASCRIPT => array( DOCROOT.'js'.DIRECTORY_SEPARATOR ),
Assets::STYLESHEET => array( DOCROOT.'css'.DIRECTORY_SEPARATOR ),
),
'processor' => array(
Assets::STYLESHEET => 'cssmin',
),
'docroot' => DOCROOT
);
);