File tree Expand file tree Collapse file tree
packages/repack/src/commands Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ---
2+ " @callstack/repack " : patch
3+ ---
4+
5+ Unset DevServer configuration when using the bundle command
Original file line number Diff line number Diff line change 4141 "noUnusedImports" : " error" ,
4242 "noUnusedVariables" : " error"
4343 },
44+ "performance" : {
45+ "noDelete" : " off"
46+ },
4447 "style" : {
4548 "noNonNullAssertion" : " off" ,
4649 "useTemplate" : " off"
Original file line number Diff line number Diff line change @@ -34,6 +34,9 @@ export async function bundle(
3434 reactNativePath : cliConfig . reactNativePath ,
3535 } ) ;
3636
37+ // remove devServer configuration to avoid schema validation errors
38+ delete config . devServer ;
39+
3740 // expose selected args as environment variables
3841 setupEnvironment ( args ) ;
3942
Original file line number Diff line number Diff line change @@ -30,6 +30,9 @@ export async function bundle(
3030 reactNativePath : cliConfig . reactNativePath ,
3131 } ) ;
3232
33+ // remove devServer configuration to avoid schema validation errors
34+ delete config . devServer ;
35+
3336 // expose selected args as environment variables
3437 setupEnvironment ( args ) ;
3538
You can’t perform that action at this time.
0 commit comments