chore(eslint): apply ts style guide to vite config
This commit is contained in:
parent
90683f0c06
commit
d333b79ee1
|
@ -23,18 +23,18 @@ export default defineConfig({
|
|||
@import "~/style/inc/theme.scss";
|
||||
@import "~/style/inc/docs.scss";
|
||||
@import "~/style/funkwhale.scss";
|
||||
`,
|
||||
},
|
||||
},
|
||||
`
|
||||
}
|
||||
}
|
||||
},
|
||||
build: {
|
||||
rollupOptions: {
|
||||
external: ["vue", 'vue-i18n', '@vueuse/core', 'vue-router', 'vue-devtools'],
|
||||
external: ['vue', 'vue-i18n', '@vueuse/core', 'vue-router', 'vue-devtools'],
|
||||
output: {
|
||||
globals: {
|
||||
Vue: "vue"
|
||||
Vue: 'vue'
|
||||
}
|
||||
}
|
||||
},
|
||||
},
|
||||
}
|
||||
}
|
||||
})
|
||||
|
|
|
@ -52,22 +52,21 @@ export default defineConfig(({ mode }) => ({
|
|||
// see: https://github.com/Borewit/music-metadata-browser/issues/836
|
||||
nodePolyfills(),
|
||||
|
||||
|
||||
// https://unocss.dev/
|
||||
UnoCSS(),
|
||||
vueDevTools(),
|
||||
vueDevTools()
|
||||
],
|
||||
server: {
|
||||
port: +(process.env.VUE_PORT ?? 8080),
|
||||
watch: {
|
||||
usePolling: true,
|
||||
usePolling: true
|
||||
}
|
||||
},
|
||||
resolve: {
|
||||
alias: [
|
||||
{ find: '#', replacement: fileURLToPath(new URL('./src/ui/workers', import.meta.url)) },
|
||||
{ find: '?', replacement: fileURLToPath(new URL('./test', import.meta.url)) },
|
||||
{ find: '~', replacement: fileURLToPath(new URL('./src', import.meta.url)) },
|
||||
{ find: '~', replacement: fileURLToPath(new URL('./src', import.meta.url)) }
|
||||
]
|
||||
},
|
||||
css: {
|
||||
|
|
Loading…
Reference in New Issue