mirror of
				https://github.com/Tencent/tmagic-editor.git
				synced 2025-11-04 10:49:51 +08:00 
			
		
		
		
	chore(playground): 加上vite-plugin-vue-setup-extend后再DevTools上看不到vue的源文件了,固去掉该插件
This commit is contained in:
		
							parent
							
								
									bddfcee92b
								
							
						
					
					
						commit
						54bc196685
					
				@ -36,7 +36,6 @@
 | 
			
		||||
    "sass": "^1.35.1",
 | 
			
		||||
    "typescript": "^4.7.4",
 | 
			
		||||
    "vite": "^3.1.3",
 | 
			
		||||
    "vite-plugin-vue-setup-extend": "^0.4.0",
 | 
			
		||||
    "vue-tsc": "^1.0.8"
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@ -19,7 +19,6 @@
 | 
			
		||||
import path from 'path';
 | 
			
		||||
 | 
			
		||||
import { defineConfig } from 'vite';
 | 
			
		||||
import VueSetupExtend from 'vite-plugin-vue-setup-extend';
 | 
			
		||||
import legacy from '@vitejs/plugin-legacy';
 | 
			
		||||
import vue from '@vitejs/plugin-vue';
 | 
			
		||||
import vueJsx from '@vitejs/plugin-vue-jsx';
 | 
			
		||||
@ -28,7 +27,6 @@ export default defineConfig({
 | 
			
		||||
  plugins: [
 | 
			
		||||
    vue(),
 | 
			
		||||
    vueJsx(),
 | 
			
		||||
    VueSetupExtend(),
 | 
			
		||||
    legacy({
 | 
			
		||||
      targets: ['defaults', 'not IE 11'],
 | 
			
		||||
    }),
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										2
									
								
								pnpm-lock.yaml
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										2
									
								
								pnpm-lock.yaml
									
									
									
										generated
									
									
									
								
							@ -506,7 +506,6 @@ importers:
 | 
			
		||||
      terser: ^5.14.2
 | 
			
		||||
      typescript: ^4.7.4
 | 
			
		||||
      vite: ^3.1.3
 | 
			
		||||
      vite-plugin-vue-setup-extend: ^0.4.0
 | 
			
		||||
      vue: ^3.2.37
 | 
			
		||||
      vue-router: ^4.0.10
 | 
			
		||||
      vue-tsc: ^1.0.8
 | 
			
		||||
@ -535,7 +534,6 @@ importers:
 | 
			
		||||
      sass: 1.52.2
 | 
			
		||||
      typescript: 4.7.4
 | 
			
		||||
      vite: 3.1.3_sass@1.52.2+terser@5.14.2
 | 
			
		||||
      vite-plugin-vue-setup-extend: 0.4.0_vite@3.1.3
 | 
			
		||||
      vue-tsc: 1.0.8_typescript@4.7.4
 | 
			
		||||
 | 
			
		||||
  runtime/react:
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user