Advertisement
Guest User

Untitled

a guest
Oct 9th, 2015
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.03 KB | None | 0 0
  1. <n-tech> groooooooooaaaaaaaan
  2. <n-tech> this library I use for minification sucks DICK
  3. <n-tech> Gonna have to write my own fucking minify library at some point too
  4. <brass> n-tech: why does it suck?
  5. <n-tech> Because it doesn't use the proper laravel helper functions for generating asset routes.
  6. <n-tech> So it works perfectly if you're using a webserver with rewrite rules that remove index.php
  7. <n-tech> but Laravel also works without it, so you can access index.php/boardname
  8. <n-tech> and have it be peachy fucking keen
  9. <n-tech> BUT
  10. <n-tech> Because it doesn't use the proper routing functions
  11. <n-tech> it assumes the root of your application is "/index.php/", which routes the request
  12. <n-tech> instead of just accessing "/css/myfile.css"
  13. <n-tech> so I can either submit a PR into this library
  14. <n-tech> or write my own
  15. <n-tech> and I'd dot he former but the library also breaks CSS keyframes in minification
  16. <n-tech> and they use 3 spaces for indentation which really flusters my buckets
  17. <n-tech> It's not an immediate issue so I'll put it off
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement