mirror of
				https://github.com/ClusterCockpit/cc-backend
				synced 2025-11-04 09:35:07 +01:00 
			
		
		
		
	setup done
This commit is contained in:
		
							
								
								
									
										2
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								Makefile
									
									
									
									
									
								
							@@ -38,7 +38,7 @@ $(TARGET): $(VAR) $(CFG) $(SVELTE_TARGETS)
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
frontend:
 | 
					frontend:
 | 
				
			||||||
	$(info ===>  BUILD frontend)
 | 
						$(info ===>  BUILD frontend)
 | 
				
			||||||
	cd web/frontend && pnpm install && pnpm run build
 | 
						cd web/frontend && npm install && npm run build
 | 
				
			||||||
 | 
					
 | 
				
			||||||
clean:
 | 
					clean:
 | 
				
			||||||
	$(info ===>  CLEAN)
 | 
						$(info ===>  CLEAN)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -6,8 +6,8 @@ import terser from '@rollup/plugin-terser';
 | 
				
			|||||||
import css from 'rollup-plugin-css-only';
 | 
					import css from 'rollup-plugin-css-only';
 | 
				
			||||||
import livereload from 'rollup-plugin-livereload';
 | 
					import livereload from 'rollup-plugin-livereload';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// const production = !process.env.ROLLUP_WATCH;
 | 
					const production = !process.env.ROLLUP_WATCH;
 | 
				
			||||||
const production = false
 | 
					// const production = false
 | 
				
			||||||
 | 
					
 | 
				
			||||||
const plugins = [
 | 
					const plugins = [
 | 
				
			||||||
    svelte({
 | 
					    svelte({
 | 
				
			||||||
@@ -52,7 +52,7 @@ const entrypoint = (name, path) => ({
 | 
				
			|||||||
        // we'll extract any component CSS out into
 | 
					        // we'll extract any component CSS out into
 | 
				
			||||||
        // a separate file - better for performance
 | 
					        // a separate file - better for performance
 | 
				
			||||||
        css({ output: `${name}.css` }),
 | 
					        css({ output: `${name}.css` }),
 | 
				
			||||||
        livereload('public')
 | 
					        // livereload('public')
 | 
				
			||||||
    ],
 | 
					    ],
 | 
				
			||||||
    watch: {
 | 
					    watch: {
 | 
				
			||||||
        clearScreen: false
 | 
					        clearScreen: false
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user