public bool IsWebpackEntry(out IRequestedWebpackEntryModel webpackEntryModel) { if (FromWebpack) { webpackEntryModel = this; return(true); } webpackEntryModel = null; return(false); }
private string Serialize(IRequestedWebpackEntryModel webpackEntry, string dependencyOf = null) { var finalOutput = ""; if (_webpackManifest.Value.TryGetValue(webpackEntry.Name, out var entryFiles)) { finalOutput += SerializeWebpackEntryJS(webpackEntry, entryFiles, dependencyOf); finalOutput += SerializeWebpackEntryCSS(webpackEntry, entryFiles, dependencyOf); } return(finalOutput); }