private static void ApplyWebConfigChanges()

in src/Dimmy.DevelopmentHelper/Dimmy.DevelopmentHelper.10.1.0/Initialiser.cs [102:109]


        private static void ApplyWebConfigChanges()
        {
            var section = _config.GetSectionGroup("system.web")?.Sections["compilation"];

            if (!(section is CompilationSection compilationSection) || compilationSection.OptimizeCompilations) return;

            compilationSection.OptimizeCompilations = true;
        }