mirror of
				https://github.com/scm-manager/scm-manager.git
				synced 2025-10-31 02:25:53 +01:00 
			
		
		
		
	use reflow to migrate from flow to typescript
This commit is contained in:
		| @@ -9,9 +9,9 @@ module.exports = [ | ||||
|     context: root, | ||||
|     entry: { | ||||
|       webapp: [ | ||||
|         "./ui-webapp/src/webpack-public-path.js", | ||||
|         "./ui-webapp/src/webpack-public-path.ts", | ||||
|         "./ui-styles/src/scm.scss", | ||||
|         "./ui-webapp/src/index.js" | ||||
|         "./ui-webapp/src/index.tsx" | ||||
|       ] | ||||
|     }, | ||||
|     devtool: "cheap-module-eval-source-map", | ||||
| @@ -30,7 +30,7 @@ module.exports = [ | ||||
|           } | ||||
|         }, | ||||
|         { | ||||
|           test: /\.(js|jsx)$/, | ||||
|           test: /\.(js|ts|jsx|tsx)$/i, | ||||
|           exclude: /node_modules/, | ||||
|           use: [ | ||||
|             { | ||||
| @@ -65,6 +65,11 @@ module.exports = [ | ||||
|         } | ||||
|       ] | ||||
|     }, | ||||
|     resolve: { | ||||
|       extensions: [ | ||||
|         ".ts", ".tsx", ".js", ".jsx", ".css", ".scss", ".json" | ||||
|       ] | ||||
|     }, | ||||
|     output: { | ||||
|       path: path.join(root, "target", "assets"), | ||||
|       filename: "[name].bundle.js" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user