![]() If that does not help you will need to provide the errors that come up in the browser console when the list.js file is broken. I want to minify custom js or css file with gulp through laravel app. You probably didnt understand the question. If you concatenate all the files (first libraries, then calls to the libraries) and then minify the whole thing as one file, it should help. The question is how to minify those files every time they are generated/updated. ![]() everything still pretty readable, so adding some line-breaks and whitespace would make the code easy on the eye. in CSS the minifyer I know only strip whitespace, comments and trailing and so convert FF0000 -> red and stuff like that. All you have to do is paste the compressed Javascript into the first code editor, or use the 'Load from URL' to fetch from a location on the internet, or the 'Choose File' function to upload from your local machine. I think in your script the list.js gets minified, then the commands and variables are basically changed by the minification algorithmus, so when your local script calls the list.js script it’s not there anymore. Long answer short: You dont at least not for JS. With this tool you can unminify Javascript, making it formatted, neatly presented and easy to read. I first get all scripts together and THEN minify. ![]() If you have a website you should minify and compress the JS code to make your web pages load faster. Use this online JS minifier tool to compress JavaScript code by removing unnecessary indentation, spaces and tabs. If you accidentally lost the originals or are reverse-engineering some code from another developer, you might need to unminify some already minified code. Have a look at my (too long) script production: Just paste the compressed JS code below and press the button. Unminify Tab size Download Load URL Browse Copy Clear If you’ve minified some code for your website or web app, you should have kept the original, unminified code for future reference.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |