minify Questions

3

Solved

I recently upgraded the Android Gradle Plugin in my Android app project from version 7.4.2 to 8.0.2. However, I'm now encountering an error during the release build when the minifyReleaseWithR8 tas...
Spinoza asked 13/6, 2023 at 7:5

4

Solved

I am working on a project where I have to statically analyse JavaScript code. However, for a few libraries, I only have access to a minified version of the file and the corresponding source-map. Is...
Brachyuran asked 22/11, 2013 at 21:32

5

Solved

I already made a Flutter app. The release apk is about 14MB. I searched methods to minify this and found this ons: https://flutter.io/android-release/#enabling-proguard But my question is, how can...
Technical asked 20/9, 2018 at 15:55

7

Solved

Background I've been following more or less the official guide to setup a local dev environment with react and it seems to use create-react-app, which sets up really a lot. Now, if I run npm run ...
Nullifidian asked 14/3, 2019 at 14:46

6

On our production server, I have minified javascript published and I'm not including a map file with it, because I don't want the user to be able to understand what's happening based on the error. ...
Crannog asked 14/10, 2015 at 14:59

7

Solved

What are the ways by which we can reduce the size of the HTML Response sent by an asp.net application? I am using Controls which are not owned by me and it produces output with white spaces. I am ...
Incogitant asked 31/10, 2008 at 21:25

8

Solved

I am authoring a JavaScript library that I want to put on npm. I am currently using that library in another project and I have added it as a dependency using its GitHub repository: "dependenci...
Luthern asked 14/8, 2017 at 9:37

2

I updated my android studio to "Android Studio Dolphin | 2021.3.1" now I have problems in some projects: Missing classes detected while running R8. Please add the missing classes or appl...
Abridgment asked 26/9, 2022 at 12:24

2

Solved

I am developing a Vite-React webapp to be used by me only, and heres my simple build command in package.json: "build": "vite build --emptyOutDir --base=./". It uses the Google F...
Lani asked 25/9, 2023 at 14:38

2

I understand that I can generate a source map, but I want to generate the rollup output without minification. Is it possible to do this? I've googled and haven't found anybody asking this question....
Enclose asked 18/2, 2021 at 2:0

3

Solved

All of the PHP minify functions I've seen have dealt with physical JavaScript, HTML, CSS files. I would like a function that, when given something like this: $code = "<html> <body>"; ...
Pennate asked 10/7, 2013 at 16:25

5

Solved

How can an existing json string be cleaned up/minfied? I've seen regexes being used. Any other (maybe more efficient) approach?
Backing asked 31/5, 2018 at 22:12

1

Solved

Trying to use Webpack to bundle and minify all the JS files to a bundle.min.js file, and all the CSS files into a bundle.min.css file. Folder structure: root |- assets |- src |-- js |--- *.js |-- c...
Karrikarrie asked 29/6, 2023 at 18:26

9

Solved

How can I estimate the size of my JavaScript file after it is gzipped? Are there online tools for this? Or is it similar to using winzip for example?
Rucksack asked 27/2, 2012 at 16:29

6

Solved

The below code removes all newlines and spaces from a CSS file. But the problem is if the CSS file has something like this: .sample { padding: 0px 2px 1px 4px; } Output will be : .sample{paddi...
Bristol asked 19/3, 2016 at 0:49

2

Solved

one of our third party libraries requires us to preserve specific function names. in webpack we did that with terser.keep_fnames. esbuild has https://esbuild.github.io/api/#keep-names so we'd like ...
Dilatory asked 25/1, 2023 at 15:17

3

Solved

Given that uglification involves some minification in the process, does it still make sense to do both minify and uglify? If yes, should one minify or uglify first? Is it enough to do uglify only? ...
Lynching asked 14/11, 2015 at 12:3

3

When trying to minify a deeply nested JSON file (~10k deep) using jq I got a parse error: $ jq -c . <input.json >minified.json parse error: Exceeds depth limit for parsing at line 227263, col...
Tevet asked 21/2, 2023 at 18:11

6

Solved

I have developed an Android app, using Moshi as one of its dependencies. Today I want to enable minify for this project. So I set minifyEnabled true in my build.gradle. After that, I found that all...
Chaney asked 15/7, 2019 at 7:20

9

Solved

I've got problem debugging minified JS on production server. While you can't catch some errors on your machine while testing dev/prod servers, there's an opportunity to send some frontend errors an...
Constructivism asked 14/7, 2016 at 13:39

5

Solved

I have the following Google font CSS files: Not Minified CSS Files: https://fonts.googleapis.com/css?family=Open+Sans:400,600,600i,700 https://fonts.googleapis.com/css?family=Raleway:400,400i,500...
Achieve asked 14/8, 2017 at 13:48

1

How to minimize very long vector path in vector drawable files using avocado optimizer tool. I have tried using svg editor, but vector path is still long, so it's getting warnings as very long vect...
Cosmorama asked 3/11, 2022 at 5:58

2

I was using this code to minify HTML output in wordpress. It works perfect on the main page and on the post page, but in the admin section it causes a lot of problems. function minify_html(){ ob_...
Sycee asked 4/7, 2015 at 10:6

6

Solved

I've done some looking around, but I'm still confused a bit. I tried Crockford's JSMin, but Win XP can't unzip the executable file for some reason. What I really want though is a simple and easy-...
Mellissamellitz asked 12/6, 2012 at 15:52

3

Solved

Is there an option to compile TypeScript code's output as minified? Or are we left to deal with that in a separate process? And does obfuscation affect the answer?
Cortezcortical asked 1/10, 2012 at 22:56

© 2022 - 2024 — McMap. All rights reserved.