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:
 | 
			
		||||
	$(info ===>  BUILD frontend)
 | 
			
		||||
	cd web/frontend && pnpm install && pnpm run build
 | 
			
		||||
	cd web/frontend && npm install && npm run build
 | 
			
		||||
 | 
			
		||||
clean:
 | 
			
		||||
	$(info ===>  CLEAN)
 | 
			
		||||
 
 | 
			
		||||
@@ -6,8 +6,8 @@ import terser from '@rollup/plugin-terser';
 | 
			
		||||
import css from 'rollup-plugin-css-only';
 | 
			
		||||
import livereload from 'rollup-plugin-livereload';
 | 
			
		||||
 | 
			
		||||
// const production = !process.env.ROLLUP_WATCH;
 | 
			
		||||
const production = false
 | 
			
		||||
const production = !process.env.ROLLUP_WATCH;
 | 
			
		||||
// const production = false
 | 
			
		||||
 | 
			
		||||
const plugins = [
 | 
			
		||||
    svelte({
 | 
			
		||||
@@ -52,7 +52,7 @@ const entrypoint = (name, path) => ({
 | 
			
		||||
        // we'll extract any component CSS out into
 | 
			
		||||
        // a separate file - better for performance
 | 
			
		||||
        css({ output: `${name}.css` }),
 | 
			
		||||
        livereload('public')
 | 
			
		||||
        // livereload('public')
 | 
			
		||||
    ],
 | 
			
		||||
    watch: {
 | 
			
		||||
        clearScreen: false
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user