forked from trent_larson/crowd-funder-for-time-pwa
Initial stab at vitejs update
This commit is contained in:
15
vite.config.mjs
Normal file
15
vite.config.mjs
Normal file
@@ -0,0 +1,15 @@
|
||||
import { defineConfig } from "vite";
|
||||
import vue from "@vitejs/plugin-vue";
|
||||
import * as path from "path";
|
||||
|
||||
// https://vitejs.dev/config/
|
||||
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"),
|
||||
},
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user