public static void preprocess ( String absolutePath ) { if ( absolutePath == null ) { return ; } if ( config == null ) { System . setProperty ( Key . APPLICATION_CONFIG . toString ( ) , basePath + Default . CONFIG_PATH . toString ( ) ) ; config = new Config ( ) ; } if ( config . isApplicationPreprocessLess ( ) && absolutePath . endsWith ( LESS ) ) { lessify ( new File ( absolutePath ) ) ; } else if ( config . isApplicationPreprocessSass ( ) && absolutePath . endsWith ( SASS ) ) { sassify ( new File ( absolutePath ) ) ; } }
Compiles a LESS or SASS file to a corresponding CSS file