File tree Expand file tree Collapse file tree 2 files changed +24
-1
lines changed Expand file tree Collapse file tree 2 files changed +24
-1
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @angular-architects/native-federation" ,
3
- "version" : " 20.1.0 " ,
3
+ "version" : " 20.1.2 " ,
4
4
"main" : " src/index.js" ,
5
5
"generators" : " ./collection.json" ,
6
6
"builders" : " ./builders.json" ,
Original file line number Diff line number Diff line change @@ -48,6 +48,29 @@ import { updateScriptTags } from '../../utils/updateIndexHtml';
48
48
import { federationBuildNotifier } from './federation-build-notifier' ;
49
49
import { NfBuilderSchema } from './schema' ;
50
50
51
+ const originalWrite = process . stderr . write . bind ( process . stderr ) ;
52
+
53
+ process . stderr . write = function (
54
+ chunk : string | Uint8Array ,
55
+ encodingOrCallback ?: BufferEncoding | ( ( err ?: Error ) => void ) ,
56
+ callback ?: ( err ?: Error ) => void
57
+ ) : boolean {
58
+ const str = typeof chunk === 'string' ? chunk : chunk . toString ( ) ;
59
+
60
+ if (
61
+ str . includes ( 'vite:import-analysis' ) &&
62
+ str . includes ( 'es-module-shims.js' )
63
+ ) {
64
+ return true ;
65
+ }
66
+
67
+ if ( typeof encodingOrCallback === 'function' ) {
68
+ return originalWrite ( chunk , encodingOrCallback ) ;
69
+ }
70
+
71
+ return originalWrite ( chunk , encodingOrCallback as BufferEncoding , callback ) ;
72
+ } ;
73
+
51
74
function _buildApplication ( options , context , pluginsOrExtensions ) {
52
75
let extensions ;
53
76
if ( pluginsOrExtensions && Array . isArray ( pluginsOrExtensions ) ) {
You can’t perform that action at this time.
0 commit comments