Package org.ametys.core.minimize.css
Class JSASSFixHelper
- java.lang.Object
-
- org.ametys.core.minimize.css.JSASSFixHelper
-
public final class JSASSFixHelper extends Object
Helper for JSASS source maps
-
-
Field Summary
Fields Modifier and Type Field Description private static String[]
JSASS_INJECTED_FILES
private static Pattern
SOURCEMAP_SOURCES_PATTERN
-
Constructor Summary
Constructors Modifier Constructor Description private
JSASSFixHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
fixJsassSourceMap(String sourceMap, String externalContextPath)
Fix the common problems with JSASS generated source maps
-
-
-
Field Detail
-
SOURCEMAP_SOURCES_PATTERN
private static final Pattern SOURCEMAP_SOURCES_PATTERN
-
JSASS_INJECTED_FILES
private static final String[] JSASS_INJECTED_FILES
-
-
Constructor Detail
-
JSASSFixHelper
private JSASSFixHelper()
-
-
Method Detail
-
fixJsassSourceMap
public static String fixJsassSourceMap(String sourceMap, String externalContextPath)
Fix the common problems with JSASS generated source maps- Parameters:
sourceMap
- The source mapexternalContextPath
- The context path- Returns:
- The source map fixed
-
-