fixing path
This commit is contained in:
parent
7af6c3560c
commit
ba2b742ca3
1 changed files with 8 additions and 2 deletions
|
|
@ -8,7 +8,7 @@ import { VitePWA } from 'vite-plugin-pwa'
|
|||
|
||||
// https://vitejs.dev/config/
|
||||
export default defineConfig({
|
||||
base: '/e-hr/',
|
||||
base: './',
|
||||
plugins: [
|
||||
vue({
|
||||
template: { transformAssetUrls },
|
||||
|
|
@ -38,8 +38,14 @@ export default defineConfig({
|
|||
},
|
||||
},
|
||||
build: {
|
||||
target: 'esnext',
|
||||
assetsDir: 'assets',
|
||||
rollupOptions: {
|
||||
output: {
|
||||
entryFileNames: 'assets/[name]-[hash].js',
|
||||
chunkFileNames: 'assets/[name]-[hash].js',
|
||||
assetFileNames: 'assets/[name]-[hash][extname]',
|
||||
},
|
||||
},
|
||||
},
|
||||
server: {
|
||||
port: 3002,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue