File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -610,13 +610,9 @@ function containsRegExpExcludingEmpty(str) {
610610const minifyablePaths = [
611611 'src/extensionsIntegrated/phoenix-pro/browser-context'
612612] ;
613- const noMinifyFiles = [
614- 'src/extensionsIntegrated/phoenix-pro/browser-context/control-box.js'
615- ] ;
616-
617613function _minifyBrowserContextFile ( fileContent ) {
618614 const minified = terser . minify ( fileContent , {
619- mangle : true ,
615+ mangle : false ,
620616 compress : {
621617 unused : false
622618 } ,
@@ -639,9 +635,6 @@ function _minifyBrowserContextFile(fileContent) {
639635
640636function _isMinifyablePath ( filePath ) {
641637 const normalizedFilePath = path . normalize ( filePath ) ;
642- if ( noMinifyFiles . some ( f => normalizedFilePath . endsWith ( path . normalize ( f ) ) ) ) {
643- return false ;
644- }
645638 return minifyablePaths . some ( minifyPath =>
646639 normalizedFilePath . startsWith ( path . normalize ( minifyPath ) )
647640 ) ;
You can’t perform that action at this time.
0 commit comments