Class FileSystemLocationMapping

java.lang.Object
com.github.blutorange.maven.plugin.closurecompiler.common.FileSystemLocationMapping
All Implemented Interfaces:
com.google.javascript.jscomp.SourceMap.LocationMapping

public class FileSystemLocationMapping extends Object implements com.google.javascript.jscomp.SourceMap.LocationMapping
Makes the source file relative to the location of the source map. The paths are taken from the file system.
  • Constructor Details

    • FileSystemLocationMapping

      public FileSystemLocationMapping(org.apache.maven.plugin.logging.Log log, File baseDirForSourceFiles, File minifiedFile, File sourceMapFile)
  • Method Details

    • map

      public String map(String location)
      Specified by:
      map in interface com.google.javascript.jscomp.SourceMap.LocationMapping
    • setTranspilationDone

      public void setTranspilationDone(boolean transpilationDone)