vitejs refactor #110
@@ -516,7 +516,6 @@
|
||||
<script lang="ts">
|
||||
import { AxiosError, AxiosRequestConfig } from "axios";
|
||||
import Dexie from "dexie";
|
||||
import "dexie-export-import";
|
||||
|
|
||||
import { ImportProgress } from "dexie-export-import/dist/import";
|
||||
import { ref } from "vue";
|
||||
import { Component, Vue } from "vue-facing-decorator";
|
||||
|
||||
@@ -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
trentlarson
commented
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
trentlarson
commented
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.
jsnbuchanan
commented
Okay. Sounds good @trentlarson Okay. Sounds good @trentlarson
|
||||
|
||||
Reference in New Issue
Block a user
This is a line that is needed for the db.export call (since it adds to the Dexie prototype).