@@ -597,6 +597,7 @@ webpackEmptyAsyncContext.id = ${JSON.stringify(id)};`;
597597 }
598598}
599599
600+ // TODO remove in webpack 5
600601Object . defineProperty ( ContextModule . prototype , "recursive" , {
601602 configurable : false ,
602603 get : util . deprecate ( function ( ) {
@@ -607,6 +608,7 @@ Object.defineProperty(ContextModule.prototype, "recursive", {
607608 } , "ContextModule.recursive has been moved to ContextModule.options.recursive" )
608609} ) ;
609610
611+ // TODO remove in webpack 5
610612Object . defineProperty ( ContextModule . prototype , "regExp" , {
611613 configurable : false ,
612614 get : util . deprecate ( function ( ) {
@@ -617,6 +619,7 @@ Object.defineProperty(ContextModule.prototype, "regExp", {
617619 } , "ContextModule.regExp has been moved to ContextModule.options.regExp" )
618620} ) ;
619621
622+ // TODO remove in webpack 5
620623Object . defineProperty ( ContextModule . prototype , "addon" , {
621624 configurable : false ,
622625 get : util . deprecate ( function ( ) {
@@ -627,6 +630,7 @@ Object.defineProperty(ContextModule.prototype, "addon", {
627630 } , "ContextModule.addon has been moved to ContextModule.options.addon" )
628631} ) ;
629632
633+ // TODO remove in webpack 5
630634Object . defineProperty ( ContextModule . prototype , "async" , {
631635 configurable : false ,
632636 get : util . deprecate ( function ( ) {
@@ -637,6 +641,7 @@ Object.defineProperty(ContextModule.prototype, "async", {
637641 } , "ContextModule.async has been moved to ContextModule.options.mode" )
638642} ) ;
639643
644+ // TODO remove in webpack 5
640645Object . defineProperty ( ContextModule . prototype , "chunkName" , {
641646 configurable : false ,
642647 get : util . deprecate ( function ( ) {
0 commit comments