Fixes
This commit is contained in:
		
							parent
							
								
									e7db73be3e
								
							
						
					
					
						commit
						0117777105
					
				| @ -7,16 +7,14 @@ module.exports = (nextConfig = {}) => { | |||||||
|         ); |         ); | ||||||
|       } |       } | ||||||
| 
 | 
 | ||||||
|       const { dir, defaultLoaders, dev, isServer } = options; |       const { dir, dev, isServer } = options; | ||||||
| 
 | 
 | ||||||
|       config.module.rules.push({ |       config.module.rules.push({ | ||||||
|         test: /\.(cabal)$/, |         test: /\.(cabal)$/, | ||||||
|         include: [dir], |  | ||||||
|         exclude: /dist-newstyle/, |  | ||||||
|         use: [ |         use: [ | ||||||
|           { |           { | ||||||
|             loader: 'haskell-loader', |             loader: 'haskell-loader', | ||||||
|             options: { dev: false, isServer }, |             options: { dev, isServer }, | ||||||
|           }, |           }, | ||||||
|         ], |         ], | ||||||
|       }); |       }); | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user