| 
									
										
										
										
											2016-11-29 08:58:02 +08:00
										 |  |  | /* | 
					
						
							|  |  |  | 	MIT License http://www.opensource.org/licenses/mit-license.php
 | 
					
						
							|  |  |  | 	Author Sean Larkin @thelarkinn | 
					
						
							|  |  |  | */ | 
					
						
							| 
									
										
										
										
											2018-07-30 23:08:51 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-01-04 03:21:51 +08:00
										 |  |  | "use strict"; | 
					
						
							| 
									
										
										
										
											2016-11-29 08:58:02 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-03-25 05:17:47 +08:00
										 |  |  | const WebpackError = require("../WebpackError"); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-11-29 03:04:11 +08:00
										 |  |  | module.exports = class NoAsyncChunksWarning extends WebpackError { | 
					
						
							| 
									
										
										
										
											2017-01-04 03:21:51 +08:00
										 |  |  | 	constructor() { | 
					
						
							| 
									
										
										
										
											2018-06-04 16:10:23 +08:00
										 |  |  | 		super( | 
					
						
							|  |  |  | 			"webpack performance recommendations: \n" + | 
					
						
							|  |  |  | 				"You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.\n" + | 
					
						
							|  |  |  | 				"For more info visit https://webpack.js.org/guides/code-splitting/" | 
					
						
							|  |  |  | 		); | 
					
						
							| 
									
										
										
										
											2017-03-25 05:17:47 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-01-04 03:21:51 +08:00
										 |  |  | 		this.name = "NoAsyncChunksWarning"; | 
					
						
							|  |  |  | 	} | 
					
						
							|  |  |  | }; |