Closed dwightwatson closed 10 years ago
Hey @dwightwatson are you still seeing this issue?
Let me give it a shot now, I've since switched back to using application.css
(on master-dev
if that makes a difference).
Yeah, still getting it...
[2013-11-21 02:34:31] log.ERROR: exception 'Codesleeve\AssetPipeline\Exceptions\InvalidPath' with message 'Cannot find given path in paths: application.css' in /Users/Dwight/Sites/laravel/vendor/codesleeve/asset-pipeline/src/Codesleeve/AssetPipeline/SprocketsBase.php:74
@dwightwatson if I create a file named application.css.less this works... when I do `<?= stylesheet_link_tag() ?>
/**
*
*= require_tree .
*/
html {
body {
background-color: red;
}
}
I've come across an issue where if your main CSS file (
application.css
) is instead a LESS file calledapplication.css.less
withrequire_self
, it doesn't compile properly in production and instead 404s.The workaround I'm using is to move all my LESS styles to another stylesheet and then require it using the Sprockets format, but it doesn't seem as this should be a problem to start with.