@@ -184,15 +184,37 @@ under `entry`, then also (if needed) chunk-splitting will be applied.
184184If we were to pass multiple file object, then webpack would run in [ multi-compiler] ( https://webpack.js.org/api/node/#multicompiler ) 
185185mode, separating dependency tree from each of the file object.
186186
187- Each file object has three properties:
187+ Each file object has two required and three optional properties. Here's the
188+ interface.
188189
189- #### ` name `  (` string ` ): 
190+ ``` ts 
191+ interface  EntryConfig  {
192+ 	[x :  string ]:  string [] |  string ;
193+ }
194+ 
195+ interface  FileConfig  {
196+ 	name:  string ;
197+ 	entry:  EntryConfig ;
198+ 	typeWatchFiles? :  string [];
199+ 	hasTypeScript? :  boolean ;
200+ 	webpackConfig? : 
201+ 		|  webpack .Configuration 
202+ 		|  ((
203+ 				config :  webpack .Configuration ,
204+ 				api :  merge ,
205+ 				appDir :  string ,
206+ 				isDev :  boolean 
207+ 		  ) =>  webpack .Configuration );
208+ }
209+ ``` 
210+ 
211+ #### ` name `  (` string ` ) ** required** : 
190212
191213A unique name of this file entry. If you are using more than one file entry,
192214then make sure to give different names, otherwise the compiler might not work
193215in development mode.
194216
195- #### ` entry `  (` object ` ): 
217+ #### ` entry `  (` object ` )  ** required ** : 
196218
197219This is the path (relative to project root) of files you would like to compile.
198220
@@ -245,6 +267,16 @@ Directory inside `outputPath` where all the assets are to be emitted.
245267
246268Whether the operation is going for development mode or production build.
247269
270+ #### ` typeWatchFiles `  (` string[] ` ) 
271+ 
272+ Array of glob pattern for which typescript reports are to be notified.
273+ 
274+ #### ` hasTypeScript `  (` boolean `  | ` undefined ` ) 
275+ 
276+ Explicitly disable typescript type assertions.
277+ 
278+ >  More information about typescript related options can be found [ here] ( /tutorials/adding-typescript/ ) .
279+ 
248280## ` outputPath `  (` string ` ): 
249281
250282Name of the directory (relative) where we would put the bundled and manifest
0 commit comments