Class SassLinker


  • @LinkerOrder(PRE)
    @Shardable
    public class SassLinker
    extends com.google.gwt.core.ext.linker.AbstractLinker
    Pre-linker that checks for the existence of SASS files in public folders, compiles them to CSS files with the SassCompiler from Vaadin and adds the CSS back into the artifact.
    • Constructor Summary

      Constructors 
      Constructor Description
      SassLinker()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String getDescription()  
      com.google.gwt.core.ext.linker.ArtifactSet link​(com.google.gwt.core.ext.TreeLogger logger, com.google.gwt.core.ext.LinkerContext context, com.google.gwt.core.ext.linker.ArtifactSet artifacts, boolean onePermutation)  
      • Methods inherited from class com.google.gwt.core.ext.linker.AbstractLinker

        emitBytes, emitBytes, emitInputStream, emitInputStream, emitString, emitString, emitWithStrongName, emitWithStrongName
      • Methods inherited from class com.google.gwt.core.ext.Linker

        isShardable, link, relink, supportsDevModeInJunit
    • Constructor Detail

      • SassLinker

        public SassLinker()
    • Method Detail

      • getDescription

        public String getDescription()
        Specified by:
        getDescription in class com.google.gwt.core.ext.Linker
      • link

        public com.google.gwt.core.ext.linker.ArtifactSet link​(com.google.gwt.core.ext.TreeLogger logger,
                                                               com.google.gwt.core.ext.LinkerContext context,
                                                               com.google.gwt.core.ext.linker.ArtifactSet artifacts,
                                                               boolean onePermutation)
                                                        throws com.google.gwt.core.ext.UnableToCompleteException
        Overrides:
        link in class com.google.gwt.core.ext.Linker
        Throws:
        com.google.gwt.core.ext.UnableToCompleteException