We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
`$path = '/libraries'; require_once $path . '/minify/src/Minify.php'; require_once $path . '/minify/src/CSS.php'; require_once $path . '/minify/src/JS.php'; require_once $path . '/minify/src/Exception.php'; require_once $path . '/minify/src/Exceptions/BasicException.php'; require_once $path . '/minify/src/Exceptions/FileImportException.php'; require_once $path . '/minify/src/Exceptions/IOException.php'; require_once $path . '/path-converter/src/ConverterInterface.php'; require_once $path . '/path-converter/src/Converter.php';
use MatthiasMullie\Minify;
$sourcePath = '/media/js/my.js'; $minifier = new Minify\JS($sourcePath);
$minifiedPath = '/media/js/min.js'; $minifier->minify($minifiedPath);`
After launch I open min.js and see it: /media/js/my.js
/media/js/my.js
What's wrong i'm doing?
The text was updated successfully, but these errors were encountered:
$sourcePath = '/media/js/my.js';
will be (tested in Codeigniter framework )
$sourcePath = APPPATH.'/media/js/my.js';
try and comment.
Sorry, something went wrong.
So it is written here #83
Maybe you will correct your documentation if it is not correct?
No branches or pull requests
`$path = '/libraries';
require_once $path . '/minify/src/Minify.php';
require_once $path . '/minify/src/CSS.php';
require_once $path . '/minify/src/JS.php';
require_once $path . '/minify/src/Exception.php';
require_once $path . '/minify/src/Exceptions/BasicException.php';
require_once $path . '/minify/src/Exceptions/FileImportException.php';
require_once $path . '/minify/src/Exceptions/IOException.php';
require_once $path . '/path-converter/src/ConverterInterface.php';
require_once $path . '/path-converter/src/Converter.php';
use MatthiasMullie\Minify;
$sourcePath = '/media/js/my.js';
$minifier = new Minify\JS($sourcePath);
$minifiedPath = '/media/js/min.js';
$minifier->minify($minifiedPath);`
After launch I open min.js and see it:
/media/js/my.js
What's wrong i'm doing?
The text was updated successfully, but these errors were encountered: