mirror of
				https://github.com/home-assistant/frontend.git
				synced 2025-10-30 22:19:55 +00:00 
			
		
		
		
	 bd0bfc1fbe
			
		
	
	bd0bfc1fbe
	
	
	
		
			
			* Add rspack * Remove TransformAsyncModulesPlugin from rspack * Migrate all webpack usage to rspack * Migrate tests to vitest * Fix test suites * Remove chai dependency * Fix compute_state_display tests * Fix resolveTimeZone * Reduces test pipeline * Revert test ci * optimize chunk filtering * Migrate landing-page to rspack * Update rspack dependencies * Add rsdoctor * Fix prod build bundle size * Use rsdoctor for demo stats * Remove unused webpack configs * Update build-scripts/rspack.cjs Co-authored-by: Petar Petrov <MindFreeze@users.noreply.github.com> * Fix eslint * Update rspack * Remove unused code --------- Co-authored-by: Petar Petrov <MindFreeze@users.noreply.github.com>
		
			
				
	
	
		
			42 lines
		
	
	
		
			977 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			42 lines
		
	
	
		
			977 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| import gulp from "gulp";
 | |
| import "./clean.js";
 | |
| import "./compress.js";
 | |
| import "./entry-html.js";
 | |
| import "./gather-static.js";
 | |
| import "./gen-icons-json.js";
 | |
| import "./translations.js";
 | |
| import "./rspack.js";
 | |
| 
 | |
| gulp.task(
 | |
|   "develop-landing-page",
 | |
|   gulp.series(
 | |
|     async function setEnv() {
 | |
|       process.env.NODE_ENV = "development";
 | |
|     },
 | |
|     "clean-landing-page",
 | |
|     "translations-enable-merge-backend",
 | |
|     "build-landing-page-translations",
 | |
|     "copy-translations-landing-page",
 | |
|     "build-locale-data",
 | |
|     "copy-static-landing-page",
 | |
|     "gen-pages-landing-page-dev",
 | |
|     "rspack-watch-landing-page"
 | |
|   )
 | |
| );
 | |
| 
 | |
| gulp.task(
 | |
|   "build-landing-page",
 | |
|   gulp.series(
 | |
|     async function setEnv() {
 | |
|       process.env.NODE_ENV = "production";
 | |
|     },
 | |
|     "clean-landing-page",
 | |
|     "build-landing-page-translations",
 | |
|     "copy-translations-landing-page",
 | |
|     "build-locale-data",
 | |
|     "copy-static-landing-page",
 | |
|     "rspack-prod-landing-page",
 | |
|     "gen-pages-landing-page-prod"
 | |
|   )
 | |
| );
 |