Merge pull request #794 from vector-im/dbkr/simplify_build
Simplify build process
This commit is contained in:
		
				commit
				
					
						aa57cf039a
					
				
			
		
					 2 changed files with 0 additions and 17 deletions
				
			
		|  | @ -2,19 +2,7 @@ | ||||||
| 
 | 
 | ||||||
| set -ex | set -ex | ||||||
| 
 | 
 | ||||||
| export VITE_DEFAULT_HOMESERVER=https://call.ems.host |  | ||||||
| export VITE_PRODUCT_NAME="Element Call" |  | ||||||
| 
 |  | ||||||
| git clone https://github.com/matrix-org/matrix-js-sdk.git |  | ||||||
| cd matrix-js-sdk |  | ||||||
| yarn install |  | ||||||
| yarn run build |  | ||||||
| yarn link |  | ||||||
| 
 |  | ||||||
| cd ../element-call |  | ||||||
| 
 |  | ||||||
| export VITE_APP_VERSION=$(git describe --tags --abbrev=0) | export VITE_APP_VERSION=$(git describe --tags --abbrev=0) | ||||||
| 
 | 
 | ||||||
| yarn link matrix-js-sdk |  | ||||||
| yarn install | yarn install | ||||||
| yarn run build | yarn run build | ||||||
|  |  | ||||||
|  | @ -35,11 +35,6 @@ export default defineConfig(({ mode }) => { | ||||||
|         }, |         }, | ||||||
|       }), |       }), | ||||||
|     ], |     ], | ||||||
|     server: { |  | ||||||
|       proxy: { |  | ||||||
|         "/_matrix": env.VITE_DEFAULT_HOMESERVER || "http://localhost:8008", |  | ||||||
|       }, |  | ||||||
|     }, |  | ||||||
|     resolve: { |     resolve: { | ||||||
|       alias: { |       alias: { | ||||||
|         // matrix-widget-api has its transpiled lib/index.js as its entry point,
 |         // matrix-widget-api has its transpiled lib/index.js as its entry point,
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue