minify Questions
5
JavaScript and CSS files in /assets are not minified after ng build --prod. Does someone know how I can minify those files? I don't see anything in the angular doc.
Heptameter asked 11/9, 2019 at 10:10
12
I'm looking into different ways to minify my JavaScript code including the regular JSMin, Packer, and YUI solutions. I'm really interested in the new Google Closure Compiler, as it looks exceptiona...
Outweigh asked 29/5, 2010 at 9:31
6
Solved
We are using jQuery in our project. We have numerous custom javascript files in our web-app that have UDFs utilizing the jQuery features. We need to reduce the size (as a part of performance ...
Leto asked 8/5, 2009 at 18:47
9
Solved
I noticed that there is always a "min" version (stands for mini?) for most JavaScript libraries (e.g., jQuery).
What is the difference? Less functionality but smaller size?
Is this something some...
Cornfield asked 15/1, 2010 at 13:8
8
Solved
When I set minifyEnabled & shrinkResources to true,the Retrofit body JSON request sent is blank, and when it is set to false then it works perfectly fine.
I have posted the whole gradle file s...
7
After setting up the Sentry.io error tracking I get this error when I try to Generate Signed Apk:
Java Compiler
error: An organization slug is required (provide with --org)
Click on this image a...
Bolin asked 19/11, 2018 at 7:14
5
Solved
Is there a way to run:
sass --watch a.scss:a.css
but have a.css end up being minified?
How would I avoid having to run a separate minification step as I compile my stylesheet?
4
I'm using Twig and I'd like to be able to minify the HTML output. How do I do this? I tried {% spaceless %}, but that requires adding that to all my templates. Can I add minification within the Twi...
2
When testing my Symfony 2.8 based webpage with Google PageSpeed Insights I am getting warned, that the HTML code is not minified.
This is true, while Assetic takes care of minifying all CSS files...
12
Solved
What is the difference between jquery.min.js and jquery.js?
Which one has support for all functions?
5
Solved
I've been looking for a way to uglify some JSON while in my bash console. This help using it afterward in another command (for example, to pass json inline to httpie)
Giving:
{
"foo": "lorem",
...
Matsu asked 9/4, 2020 at 15:46
2
Solved
I use jasmine, karma and webpack to test my module. The webpack preprocesses my tests files before initiating tests.
In my tests I have the class Name{...} to be tested. I create new Name instance...
Variegate asked 18/6, 2018 at 5:23
15
Solved
I am looking for a php script or class that can minify my php page html output like google page speed does.
How can I do this?
4
Seems like a truly stupid question that must have an answer somewhere, but I've searched for hours to no avail. I'm new to ReactJS and building with Webpack, build configs in general. I'm using Web...
5
Solved
Python is a scripting language. It is hard to protect python code from being copied. No 100% protection is required but at least slow down those who have bad intentions. Is it possible to minify/ug...
7
There is a big javascript library (~ 40 000 lines of code) and an application which uses less than 50% of the library's code.
There is a test which utilizes all the needed functionality from the l...
Engel asked 20/3, 2018 at 10:32
6
Solved
So I installed npm using npm install uglify-js
I run a command which is:
cat file1.js file2.js .. fileN.js | uglifyjs -o files.min.js
and I get this error:
WARN: ERROR: Unexpected token eof «u...
Petr asked 29/11, 2012 at 20:21
2
I am able to Un minify CSS using Visual studio shortcut (Ctrl + K + D). Same trick not working for JS files.
How can I un minify JS using Visual Studio like (Ctrl + K + D) short cut. I know there...
Thach asked 25/7, 2014 at 15:32
3
Solved
I recently got the following question in an interview.
How would you minify a JSON response?
{
name: "sample name",
product: "sample product",
address: "sample address&q...
Petrifaction asked 28/1, 2018 at 14:6
4
Solved
Webpack version: 4.16.3
All compilation is successful.
My code after compilation in bundle.css is not minify.
I try to use minimize: true in text-webpack-plugin, but it not working.
For compile I...
Novokuznetsk asked 9/8, 2018 at 3:15
4
I have minified my Javascript and CSS files using uglifyJS and the file size on disk has decreased considerably. But on checking the total time for resources loaded in network tab, using Chrome Dev...
3
Solved
I have a php script that reads an XML file and modifies it with SimpleXML. After all the modifications are done script saves the file (size ~ 2.8 mb).
I need to load this XML file with jQuery and i...
Agglomerate asked 8/8, 2011 at 17:31
7
Although I used pretty code and had set up the breakpoints in "Pretty code" tab, debugger keeps working in minified code. (I can't see exactly where I am and need to continuously switch between sou...
Lemuel asked 7/5, 2015 at 15:18
3
Solved
Flask offers the convenient jsonify() function, which returns a JSON object from Python variables:
from flask import Flask, jsonify
app = Flask(__name__)
@app.route("/")
def json_hello():
return...
1
Flutter Web error report sent to Sentry is not readable because is minified.
https://github.com/flutter/flutter/issues/37875
https://github.com/flutter/flutter/issues/16883#issue-316793104
I am ...
Goodfornothing asked 12/5, 2020 at 9:13
© 2022 - 2025 — McMap. All rights reserved.