Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelbart authored Jun 25, 2022
1 parent 5354e11 commit f330ae0
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,17 @@ include 'class-filecombiner.php';

// CSS

$source = get_stylesheet_directory() . '/test/source';
$target = get_stylesheet_directory() . '/test/combined.css';
$source = '/test/source';
$target = '/test/combined.css';

$combiner = new FileCombiner($source, $target, '.css');

$combiner->watch();

// JS

$source = get_stylesheet_directory() . '/test/source';
$target = get_stylesheet_directory() . '/test/combined.js';
$source = '/test/source';
$target = '/test/combined.js';

$combiner = new FileCombiner($source, $target, '.js');

Expand Down Expand Up @@ -78,8 +78,8 @@ function removeUnnecessaryThings($content)
return preg_replace('/\s*/m', '', $content);
}

$source = get_stylesheet_directory() . '/test/source';
$target = get_stylesheet_directory() . '/test/combined.css';
$source = '/test/source';
$target = '/test/combined.css';

$combiner = new FileCombiner($source, $target, '.css');

Expand Down

0 comments on commit f330ae0

Please sign in to comment.