mirror of
				https://github.com/hydralauncher/hydra.git
				synced 2025-03-09 15:40:26 +00:00 
			
		
		
		
	first commit
This commit is contained in:
		
						commit
						91b1341271
					
				
					 165 changed files with 20993 additions and 0 deletions
				
			
		
							
								
								
									
										28
									
								
								webpack.renderer.config.ts
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										28
									
								
								webpack.renderer.config.ts
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,28 @@ | |||
| import type { Configuration } from "webpack"; | ||||
| import { VanillaExtractPlugin } from "@vanilla-extract/webpack-plugin"; | ||||
| import TsconfigPathsPlugin from "tsconfig-paths-webpack-plugin"; | ||||
| 
 | ||||
| import { rules } from "./webpack.rules"; | ||||
| import { plugins } from "./webpack.plugins"; | ||||
| 
 | ||||
| rules.push({ | ||||
|   test: /\.css$/, | ||||
|   use: [{ loader: "style-loader" }, { loader: "css-loader" }], | ||||
| }); | ||||
| 
 | ||||
| rules.push({ | ||||
|   test: /\.svg$/, | ||||
|   use: ["@svgr/webpack"], | ||||
| }); | ||||
| 
 | ||||
| export const rendererConfig: Configuration = { | ||||
|   module: { | ||||
|     rules, | ||||
|   }, | ||||
|   devtool: "source-map", | ||||
|   plugins: [...plugins, new VanillaExtractPlugin()], | ||||
|   resolve: { | ||||
|     extensions: [".js", ".ts", ".jsx", ".tsx", ".css"], | ||||
|     plugins: [new TsconfigPathsPlugin()], | ||||
|   }, | ||||
| }; | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue