mirror of
				https://github.com/dromara/RuoYi-Vue-Plus.git
				synced 2025-11-04 16:23:42 +08:00 
			
		
		
		
	使用vue-cli默认source-map
This commit is contained in:
		@@ -6,7 +6,7 @@
 | 
			
		||||
/* theme color */
 | 
			
		||||
$--color-primary: #1890ff;
 | 
			
		||||
$--color-success: #13ce66;
 | 
			
		||||
$--color-warning: #FFBA00;
 | 
			
		||||
$--color-warning: #ffba00;
 | 
			
		||||
$--color-danger: #ff4949;
 | 
			
		||||
// $--color-info: #1E1E1E;
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -82,12 +82,6 @@ module.exports = {
 | 
			
		||||
      })
 | 
			
		||||
      .end()
 | 
			
		||||
 | 
			
		||||
    config
 | 
			
		||||
      // https://webpack.js.org/configuration/devtool/#development
 | 
			
		||||
      .when(process.env.NODE_ENV === 'development',
 | 
			
		||||
        config => config.devtool('cheap-source-map')
 | 
			
		||||
      )
 | 
			
		||||
 | 
			
		||||
    config
 | 
			
		||||
      .when(process.env.NODE_ENV !== 'development',
 | 
			
		||||
        config => {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user