Skip to main content
Bumped by Community user
Bumped by Community user
added 24 characters in body
Source Link
Michael West
  • 18.6k
  • 2
  • 42
  • 105

Sitecore/SXA 10.2

I find it very difficult to know exactly which part of my code is broken when the theme scripts are mangled beyond my comprehension. What can I do to improve this experience?

Take for example this piece of code:

Minified

Minified

Original

Original

Note: I'm using a CDN which handles the minify process in production.

I find it very difficult to know exactly which part of my code is broken when the theme scripts are mangled beyond my comprehension. What can I do to improve this experience?

Take for example this piece of code:

Minified

Minified

Original

Original

Note: I'm using a CDN which handles the minify process in production.

Sitecore/SXA 10.2

I find it very difficult to know exactly which part of my code is broken when the theme scripts are mangled beyond my comprehension. What can I do to improve this experience?

Take for example this piece of code:

Minified

Minified

Original

Original

Note: I'm using a CDN which handles the minify process in production.

Source Link
Michael West
  • 18.6k
  • 2
  • 42
  • 105

How do I disable minification for pre-optimized-min items in my theme?

I find it very difficult to know exactly which part of my code is broken when the theme scripts are mangled beyond my comprehension. What can I do to improve this experience?

Take for example this piece of code:

Minified

Minified

Original

Original

Note: I'm using a CDN which handles the minify process in production.