diff --git a/index.html b/index.html index 143557b..bb093ad 100644 --- a/index.html +++ b/index.html @@ -5,6 +5,7 @@ Vite + Vue + TS +
diff --git a/vite.config.ts b/vite.config.ts index 315212d..3484aa3 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -1,7 +1,9 @@ -import { defineConfig } from 'vite' import vue from '@vitejs/plugin-vue' +import { defineConfig } from 'vite' // https://vitejs.dev/config/ export default defineConfig({ - plugins: [vue()] + plugins: [vue()], + // per https://github.com/aws-amplify/amplify-js/issues/9639#issuecomment-1081781840 + resolve: { alias: { './runtimeConfig': './runtimeConfig.browser' } } })