feat: remove experimental status of <script setup>
				
					
				
			This commit is contained in:
		
							parent
							
								
									f596e008ef
								
							
						
					
					
						commit
						27104eaaf0
					
				@ -123,9 +123,7 @@ export function compileScript(
 | 
				
			|||||||
  const enableRefSugar = !!options.refSugar
 | 
					  const enableRefSugar = !!options.refSugar
 | 
				
			||||||
  const parseOnly = !!options.parseOnly
 | 
					  const parseOnly = !!options.parseOnly
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  if (scriptSetup) {
 | 
					  if (parseOnly && !scriptSetup) {
 | 
				
			||||||
    !parseOnly && warnExperimental(`<script setup>`, 227)
 | 
					 | 
				
			||||||
  } else if (parseOnly) {
 | 
					 | 
				
			||||||
    // in parse-only mode, construct a fake script setup so we still perform
 | 
					    // in parse-only mode, construct a fake script setup so we still perform
 | 
				
			||||||
    // the full parse logic.
 | 
					    // the full parse logic.
 | 
				
			||||||
    scriptSetup = {
 | 
					    scriptSetup = {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user