ffplayout/nuxt.config.ts

66 lines
1.6 KiB
TypeScript
Raw Normal View History

2023-01-11 04:54:25 -05:00
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
devServer: {
port: 3000, // default: 3000
host: '127.0.0.1', // default: localhost
},
nitro: {
devProxy: {
'/api': { target: 'http://127.0.0.1:8787/api' },
'/auth': { target: 'http://127.0.0.1:8787/auth' },
},
},
ignore: ['**/public/tv-media**', '**/public/Videos**', '**/public/live**', '**/public/home**'],
ssr: false,
// debug: true,
2023-01-11 04:54:25 -05:00
app: {
head: {
title: 'ffplayout',
meta: [
{
charset: 'utf-8',
},
{
name: 'viewport',
content: 'width=device-width, initial-scale=1',
},
{
hid: 'description',
name: 'description',
content: 'Frontend for ffplayout, the 24/7 Rust and playlist based streaming solution.',
},
],
link: [
{
rel: 'icon',
type: 'image/x-icon',
href: '/favicon.ico',
},
],
},
},
modules: ['@pinia/nuxt'],
css: ['@/assets/scss/main.scss'],
2023-01-11 04:54:25 -05:00
vite: {
css: {
preprocessorOptions: {
scss: {
additionalData: '@import "@/assets/scss/_variables.scss";',
2023-01-11 04:54:25 -05:00
},
},
},
2023-05-31 16:54:34 -04:00
build: {
chunkSizeWarningLimit: 800000,
},
2023-01-11 04:54:25 -05:00
},
experimental: {
payloadExtraction: false,
},
2023-01-11 04:54:25 -05:00
})