mirror of
				https://github.com/ClusterCockpit/cc-backend
				synced 2025-11-04 09:35:07 +01:00 
			
		
		
		
	setup done
This commit is contained in:
		@@ -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