Closed marsderp closed 10 years ago
Another bug I just encountered:
.scss
files are compiled and renamed to .css
, but it is still being linked to the .scss
file, which results in the controller being reached because .htacess cannot find the static file.
Possible solution would be to leave the file extensions alone after compiling/copying the files.
lol... hey @marsd I'm still working on assets:generate stuff... I've got to write some tests for it too
@marsd there are bigger issues here I'm having to address. We can't just keep file names the same though it'll cause problems. I am going to close this PR but I am still working on this...
in last stable version 2.0.3
artisan assets:generate
{"error":{
"type":"Symfony\\Component\\Debug\\Exception\\FatalErrorException",
"message":"Class 'Codesleeve\\AssetPipeline\\Commands\\Codesleeve\\Sprockets\\StaticFileGenerator' not found",
"file":"E:\\@server\\projects\\AniPoisk\\vendor\\codesleeve\\asset-pipeline\\src\\Codesleeve\\AssetPipeline\\Commands\\AssetsGenerateCommand.php",
"line":39
}}
Bug:
[LogicException] An option named "env" already exists
Removed the env option and added environment option exists check.Bug:
Class 'Codesleeve\\Sprockets\\StaticFileGenerator' not found
StaticFileGenerator
should beStaticFilesGenerator
Bug:
Undefined index: routing.prefix
$config['routing.prefix']
changed to$config['routing']['prefix']
Additional bugs uncovered:
assets:generate
does not concat files or process directives in application.js/css. Resulting in environments inconcat
config linking to a single, empty application.css/js file. Environments excluded inconcat
are linked to the individual css/js files as expected.application.css/js files are empty no matter the
assets:generate
environment.assets:clean
throws: