I'm using UmiJs framework , In its build script it uglify all the files , how can I prevent it from uglify them ?
Asked
Active
Viewed 292 times
2 Answers
1
add ! prevent UmiJs from uglify
'!js/UmiJs.js
'

Mohammad Ali Rony
- 4,695
- 3
- 19
- 33
-
where I should write it ? – URL87 Nov 13 '19 at 10:12
-
@URL87 which library you are using for uglifaty? – Mohammad Ali Rony Nov 13 '19 at 10:13
-
probably the default one here - https://umijs.org/config/#minimizer – URL87 Nov 13 '19 at 10:14
1
Set the environment variable:
COMPRESS=none
The docs mention this var but don't specifically mention uglify/minify and the detail of what's involved. Here's the source code where it's used.

DDD
- 1,462
- 15
- 19