21 lines
		
	
	
		
			484 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			484 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
/** @type {import('next').NextConfig} */
 | 
						|
module.exports = {
 | 
						|
  reactStrictMode: true,
 | 
						|
  images: {
 | 
						|
    domains: ['avatars.githubusercontent.com']
 | 
						|
  },
 | 
						|
  webpack(config, { isServer }) {
 | 
						|
    config.resolve.alias['vscode'] = require.resolve(
 | 
						|
      '@codingame/monaco-languageclient/lib/vscode-compatibility'
 | 
						|
    )
 | 
						|
    if (!isServer) {
 | 
						|
      config.resolve.fallback.fs = false
 | 
						|
    }
 | 
						|
    config.module.rules.push({
 | 
						|
      test: /\.md$/,
 | 
						|
      use: 'raw-loader'
 | 
						|
    })
 | 
						|
    return config
 | 
						|
  }
 | 
						|
}
 |