mirror of
				https://github.com/em-squared/5e-drs.git
				synced 2025-11-04 09:11:48 +00:00 
			
		
		
		
	
		
			
	
	
		
			15 lines
		
	
	
	
		
			348 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
		
		
			
		
	
	
			15 lines
		
	
	
	
		
			348 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| 
								 | 
							
								const { path } = require('@vuepress/shared-utils')
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								module.exports = (options) => ({
							 | 
						||
| 
								 | 
							
								  alias: {
							 | 
						||
| 
								 | 
							
								    '@SRDSearchBox':
							 | 
						||
| 
								 | 
							
								      path.resolve(__dirname, 'SearchBox.vue')
							 | 
						||
| 
								 | 
							
								  },
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								  define: {
							 | 
						||
| 
								 | 
							
								    SEARCH_MAX_SUGGESTIONS: options.searchMaxSuggestions || 5,
							 | 
						||
| 
								 | 
							
								    SEARCH_PATHS: options.test || null,
							 | 
						||
| 
								 | 
							
								    SEARCH_HOTKEYS: options.searchHotkeys || ['s', '/']
							 | 
						||
| 
								 | 
							
								  }
							 | 
						||
| 
								 | 
							
								})
							 |