2021-03-28 20:14:04 +00:00
|
|
|
|
2021-11-19 12:22:27 +00:00
|
|
|
import _adhoc from './_adhoc'
|
2021-03-28 20:14:04 +00:00
|
|
|
import _app from './_app'
|
|
|
|
import _common from './_common'
|
2021-04-02 11:47:01 +00:00
|
|
|
import _internal from './_internal'
|
2021-03-28 20:14:04 +00:00
|
|
|
import build from './build'
|
|
|
|
import messages from './messages'
|
|
|
|
import render from './render'
|
|
|
|
import router from './router'
|
|
|
|
import server from './server'
|
|
|
|
import cli from './cli'
|
|
|
|
import generate from './generate'
|
2021-11-16 12:32:21 +00:00
|
|
|
import typescript from './typescript'
|
2022-02-10 17:29:59 +00:00
|
|
|
import nitro from './nitro'
|
2021-03-28 20:14:04 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
TODO for top level normalizations: (nuxt2)
|
|
|
|
- transition => pageTransition
|
|
|
|
- export => generate
|
|
|
|
- gzip => compressor
|
|
|
|
- Apply preset
|
|
|
|
- render.etag.hash should be a function
|
|
|
|
- deprecated devModules
|
|
|
|
- set consola level to 0 if build.quite is true
|
|
|
|
- Ad-hoc: loading-screen, components and telemtry
|
|
|
|
- build.indicator and build.loadingScreen
|
|
|
|
- build.crossorigin => render.crossorigin
|
|
|
|
- render.csp.unsafeInlineCompatiblity => render.csp.unsafeInlineCompatibility
|
|
|
|
- guards: rootDir:buildDir rootDir:generate.dir srcDir:buildDir srcDir:generate.dir
|
|
|
|
- _publicPath (original value of publicPath)
|
|
|
|
- options.build.babel.presets (array) warn @nuxtjs/babel-preset-app => @nuxt/babel-preset-app
|
|
|
|
*/
|
|
|
|
|
|
|
|
export default {
|
2021-11-19 12:22:27 +00:00
|
|
|
..._adhoc,
|
2021-03-28 20:14:04 +00:00
|
|
|
..._app,
|
|
|
|
..._common,
|
2021-04-02 11:47:01 +00:00
|
|
|
..._internal,
|
2022-02-10 17:29:59 +00:00
|
|
|
...nitro,
|
2021-03-28 20:14:04 +00:00
|
|
|
build,
|
|
|
|
messages,
|
|
|
|
render,
|
|
|
|
router,
|
|
|
|
server,
|
|
|
|
cli,
|
2021-11-16 12:32:21 +00:00
|
|
|
generate,
|
2021-11-19 12:22:27 +00:00
|
|
|
typescript,
|
2021-11-19 16:26:15 +00:00
|
|
|
|
2021-11-19 12:22:27 +00:00
|
|
|
/**
|
|
|
|
* Configuration that will be passed directly to Vite.
|
2021-11-19 16:26:15 +00:00
|
|
|
*
|
|
|
|
* See https://vitejs.dev/config for more information.
|
|
|
|
* Please note that not all vite options are supported in Nuxt.
|
|
|
|
*
|
2021-11-19 12:22:27 +00:00
|
|
|
* @type {boolean | typeof import('vite').InlineConfig}
|
2021-11-19 16:26:15 +00:00
|
|
|
* @version 3
|
2021-11-19 12:22:27 +00:00
|
|
|
*/
|
|
|
|
vite: undefined,
|
2021-03-28 20:14:04 +00:00
|
|
|
}
|