зеркало из https://github.com/nextcloud/forms.git
26 строки
515 B
JavaScript
26 строки
515 B
JavaScript
import { createAppConfig } from '@nextcloud/vite-config'
|
|
import { join, resolve } from 'path'
|
|
|
|
export default createAppConfig(
|
|
{
|
|
emptyContent: resolve(join('src', 'emptyContent.js')),
|
|
main: resolve(join('src', 'main.js')),
|
|
submit: resolve(join('src', 'submit.js')),
|
|
settings: resolve(join('src', 'settings.js')),
|
|
},
|
|
{
|
|
config: {
|
|
build: {
|
|
cssCodeSplit: false,
|
|
rollupOptions: {
|
|
output: {
|
|
manualChunks: {
|
|
vendor: ['vue', 'vue-router'],
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
)
|