vitejs refactor #110
 Merged
	
	
		
		
			
		
		
		
			
		
		
			
			
				trentlarson
				merged 17 commits from jsnbuchanan/crowd-funder-for-time-pwa:feat/vitejs into master 2 years ago
			
		
	
	
				 24 changed files with 11535 additions and 20309 deletions
			
			
		| @ -1,4 +1,4 @@ | |||
| # Only the variables that start with VUE_APP_ are seen in the application process.env in Vue. | |||
| VUE_APP_BVC_MEETUPS_PROJECT_CLAIM_ID=https://endorser.ch/entity/01GXYPFF7FA03NXKPYY142PY4H | |||
| VUE_APP_DEFAULT_ENDORSER_API_SERVER=https://api.endorser.ch | |||
| VUE_APP_DEFAULT_IMAGE_API_SERVER=https://image-api.timesafari.app | |||
| # Only the variables that start with VITE_ are seen in the application process.env in Vue. | |||
| VITE_BVC_MEETUPS_PROJECT_CLAIM_ID=https://endorser.ch/entity/01GXYPFF7FA03NXKPYY142PY4H | |||
| VITE_DEFAULT_ENDORSER_API_SERVER=https://api.endorser.ch | |||
| VITE_DEFAULT_IMAGE_API_SERVER=https://image-api.timesafari.app | |||
|  | |||
| @ -1,4 +0,0 @@ | |||
| module.exports = { | |||
|   plugins: ["@babel/plugin-transform-private-methods"], | |||
|   presets: ["@vue/cli-plugin-babel/preset"], | |||
| }; | |||
| @ -0,0 +1,17 @@ | |||
| <!DOCTYPE html> | |||
| <html lang=""> | |||
|   <head> | |||
|     <meta charset="utf-8"> | |||
|     <meta http-equiv="X-UA-Compatible" content="IE=edge"> | |||
|     <meta name="viewport" content="width=device-width,initial-scale=1.0"> | |||
|     <link rel="icon" href="/favicon.ico"> | |||
|     <title>TimeSafari</title> | |||
|   </head> | |||
|   <body> | |||
|     <noscript> | |||
|       <strong>We're sorry but TimeSafari doesn't work properly without JavaScript enabled. Please enable it to continue.</strong> | |||
|     </noscript> | |||
|     <div id="app"></div> | |||
|     <script type="module" src="/src/main.ts"></script> | |||
|   </body> | |||
| </html> | |||
								
									
										File diff suppressed because it is too large
									
								
							
						
					| @ -1,17 +0,0 @@ | |||
| <!DOCTYPE html> | |||
| <html lang=""> | |||
|   <head> | |||
|     <meta charset="utf-8"> | |||
|     <meta http-equiv="X-UA-Compatible" content="IE=edge"> | |||
|     <meta name="viewport" content="width=device-width,initial-scale=1.0"> | |||
|     <link rel="icon" href="<%= BASE_URL %>favicon.ico"> | |||
|     <title><%= htmlWebpackPlugin.options.title %></title> | |||
|   </head> | |||
|   <body> | |||
|     <noscript> | |||
|       <strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong> | |||
|     </noscript> | |||
|     <div id="app"></div> | |||
|     <!-- built files will be auto injected --> | |||
|   </body> | |||
| </html> | |||
| @ -0,0 +1,18 @@ | |||
| import { defineConfig } from "vite"; | |||
| import vue from "@vitejs/plugin-vue"; | |||
| import * as path from "path"; | |||
| 
 | |||
| // https://vitejs.dev/config/
 | |||
| export default defineConfig({ | |||
|   server: { | |||
|     port: 8080 | |||
|   }, | |||
|   plugins: [ vue() ], | |||
|   resolve: { | |||
|     alias: { | |||
|       "@": path.resolve(__dirname, "./src"), | |||
|       buffer: path.resolve(__dirname, 'node_modules', 'buffer'), | |||
|       'dexie-export-import/dist/import': 'dexie-export-import/dist/import/index.js', | |||
| 
				
				jsnbuchanan marked this conversation as resolved
			 | |||
|     }, | |||
|   }, | |||
| }); | |||
					Loading…
					
					
				
		Reference in new issue
	
	
I now see this, which possibly takes the place of that import... so I guess we'll want to talk more about how this should work
It works to have both of these in place so I'll continue with both.
Okay. Sounds good @trentlarson