src/load.js
function includeRawDataFile(includedFiles, files, entryFilename, data) {
  let orderedFiles = includedFiles;

  if(entryFilename === RAW_DATA_FILE && data) {
    files[RAW_DATA_FILE] = data;
    orderedFiles = [...orderedFiles, RAW_DATA_FILE];
  } else if(orderedFiles.length > 0) {
    orderedFiles = [...orderedFiles.slice(1), orderedFiles[0]];
  }

  return {
    compiledFiles: files,
    orderedFiles,
  };
}
function includeRawDataFile(includedFiles, files, entryFilename, data) {
  let orderedFiles = includedFiles;

  if(entryFilename === RAW_DATA_FILE && data) {
    files[RAW_DATA_FILE] = data;
    orderedFiles = [...orderedFiles, RAW_DATA_FILE];
  } else if(orderedFiles.length > 0) {
    orderedFiles = [...orderedFiles.slice(1), orderedFiles[0]];
  }

  return {
    compiledFiles: files,
    orderedFiles,
  };
}
function includeRawDataFile ( includedFiles , files , entryFilename , data ) { let orderedFiles = includedFiles ; if ( entryFilename === RAW_DATA_FILE && data ) { files [ RAW_DATA_FILE ] = data ; orderedFiles = [ ... orderedFiles , RAW_DATA_FILE ] ; } else if ( orderedFiles . length > 0 ) { orderedFiles = [ ... orderedFiles . slice ( 1 ) , orderedFiles [ 0 ] ] ; } return { compiledFiles : files , orderedFiles , } ; }
Include any raw compilation data as a 'data' file
Include any raw compilation data as a data file