mirror of
				https://github.com/Theodor-Springmann-Stiftung/kgpz_web.git
				synced 2025-10-31 09:55:30 +00:00 
			
		
		
		
	Fixed some build options for vite
This commit is contained in:
		
							
								
								
									
										33
									
								
								node_modules/postcss/lib/document.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								node_modules/postcss/lib/document.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,33 @@ | ||||
| 'use strict' | ||||
|  | ||||
| let Container = require('./container') | ||||
|  | ||||
| let LazyResult, Processor | ||||
|  | ||||
| class Document extends Container { | ||||
|   constructor(defaults) { | ||||
|     // type needs to be passed to super, otherwise child roots won't be normalized correctly | ||||
|     super({ type: 'document', ...defaults }) | ||||
|  | ||||
|     if (!this.nodes) { | ||||
|       this.nodes = [] | ||||
|     } | ||||
|   } | ||||
|  | ||||
|   toResult(opts = {}) { | ||||
|     let lazy = new LazyResult(new Processor(), this, opts) | ||||
|  | ||||
|     return lazy.stringify() | ||||
|   } | ||||
| } | ||||
|  | ||||
| Document.registerLazyResult = dependant => { | ||||
|   LazyResult = dependant | ||||
| } | ||||
|  | ||||
| Document.registerProcessor = dependant => { | ||||
|   Processor = dependant | ||||
| } | ||||
|  | ||||
| module.exports = Document | ||||
| Document.default = Document | ||||
		Reference in New Issue
	
	Block a user
	 Simon Martens
					Simon Martens