vitejs refactor #110

Merged
trentlarson merged 17 commits from jsnbuchanan/crowd-funder-for-time-pwa:feat/vitejs into master 2024-04-09 23:49:48 +00:00
2 changed files with 2 additions and 3 deletions
Showing only changes of commit 6f49260c1e - Show all commits

View File

@@ -516,7 +516,6 @@
<script lang="ts">
import { AxiosError, AxiosRequestConfig } from "axios";
import Dexie from "dexie";
import "dexie-export-import";

This is a line that is needed for the db.export call (since it adds to the Dexie prototype).

This is a line that is needed for the db.export call (since it adds to the Dexie prototype).
import { ImportProgress } from "dexie-export-import/dist/import";
import { ref } from "vue";
import { Component, Vue } from "vue-facing-decorator";

View File

@@ -7,9 +7,9 @@ export default defineConfig({
plugins: [ vue() ],
resolve: {
alias: {
// Provide the path to the buffer module explicitly
buffer: path.resolve(__dirname, 'node_modules', 'buffer'),
"@": 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
Review

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

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
Review

It works to have both of these in place so I'll continue with both.

It works to have both of these in place so I'll continue with both.
Review

Okay. Sounds good @trentlarson

Okay. Sounds good @trentlarson