Class Bundle

java.lang.Object
io.quarkiverse.web.bundler.runtime.Bundle

@Named("bundle") public class Bundle extends Object
  • Field Details

    • BUNDLE_MAPPING_EXT

      public static final Set<String> BUNDLE_MAPPING_EXT
      Other extensions from the bundle might have duplicate names (but different hash), so we don't include them in the mapping.
  • Constructor Details

  • Method Details

    • mapping

      public Bundle.Mapping mapping()
    • script

      public String script(String key)
      Resolve the script file public path including the hash and extension from the entry point key.
      Parameters:
      key - the fixed entry point key (eg.: main)
      Returns:
      the file public path (eg.: static/main-HE233H4.js)
    • resolve

      public String resolve(String name)
    • style

      public String style(String key)
      Resolve the style file public path including the hash and extension from the entry point key.
      Parameters:
      key - the fixed entry point key (eg.: main)
      Returns:
      the file public path (eg.: static/main-HE233H4.css)