mirror of
https://github.com/aljazceru/meshcore-web.git
synced 2025-12-18 00:24:21 +01:00
21 lines
335 B
JavaScript
21 lines
335 B
JavaScript
import path from "path";
|
|
import vue from '@vitejs/plugin-vue';
|
|
|
|
export default {
|
|
|
|
// vite app is loaded from /src
|
|
root: path.join(__dirname, "src"),
|
|
|
|
// build to /dist instead of /src/dist
|
|
build: {
|
|
outDir: '../dist',
|
|
emptyOutDir: true,
|
|
},
|
|
|
|
// add plugins
|
|
plugins: [
|
|
vue(),
|
|
],
|
|
|
|
}
|