Esempio n. 1
0
 public BundlerImpl(IBundlerCtx ctx)
 {
     _ctx = ctx;
     PartToMainFilesMap          = new Dictionary <string, IReadOnlyList <string> >();
     MangleWithFrequencyCounting = true;
     GlobalDefines = new Dictionary <string, object>();
 }
Esempio n. 2
0
 public BundlerTreeTransformer(Dictionary <string, SourceFile> cache, IBundlerCtx ctx,
                               SourceFile currentSourceFile, Dictionary <string, SymbolDef> rootVariables, string suffix,
                               Dictionary <string, SplitInfo> splitMap, SplitInfo splitInfo)
 {
     _cache             = cache;
     _ctx               = ctx;
     _currentSourceFile = currentSourceFile;
     _rootVariables     = rootVariables;
     _splitMap          = splitMap;
     _suffix            = "_" + suffix;
     _splitInfo         = splitInfo;
 }