mirror of
				https://github.com/strapi/strapi.git
				synced 2025-11-04 03:43:34 +00:00 
			
		
		
		
	fix: add module to mainFields
				
					
				
			This commit is contained in:
		
							parent
							
								
									598c58f273
								
							
						
					
					
						commit
						548c2b0131
					
				@ -221,7 +221,7 @@ module.exports = ({
 | 
			
		||||
      alias,
 | 
			
		||||
      symlinks: false,
 | 
			
		||||
      extensions: ['.js', '.jsx', '.react.js', '.ts', '.tsx'],
 | 
			
		||||
      mainFields: ['browser', 'jsnext:main', 'main'],
 | 
			
		||||
      mainFields: ['browser', 'module', 'jsnext:main', 'main'],
 | 
			
		||||
      modules: ['node_modules', path.resolve(__dirname, 'node_modules')],
 | 
			
		||||
    },
 | 
			
		||||
    plugins: [
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user