2019-01-14 17:40:10 +00:00
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`config: options should return default nuxt config 1`] = `
2023-04-25 21:17:00 +00:00
{
2019-01-14 17:40:10 +00:00
"ErrorPage": null,
"__normalized__": true,
2023-04-25 21:17:00 +00:00
"_modules": [
2020-06-03 19:34:10 +00:00
"@nuxt/components",
],
2019-01-14 19:47:00 +00:00
"_nuxtConfigFile": "/var/nuxt/test/nuxt.config.js",
2023-04-25 21:17:00 +00:00
"_nuxtConfigFiles": [
2019-04-11 10:04:21 +00:00
"/var/nuxt/test/nuxt.config.js",
],
2023-04-25 21:17:00 +00:00
"alias": {
2019-05-06 13:59:37 +00:00
"@": "/var/nuxt/test",
"@@": "/var/nuxt/test",
"assets": "/var/nuxt/test/assets",
"static": "/var/nuxt/test/static",
"~": "/var/nuxt/test",
"~~": "/var/nuxt/test",
},
2023-04-25 21:17:00 +00:00
"app": {
2020-12-22 17:15:59 +00:00
"assetsPath": "/_nuxt/",
"basePath": "/",
"cdnURL": null,
},
2019-01-14 19:47:00 +00:00
"appTemplatePath": "/var/nuxt/test/.nuxt/views/app.template.html",
2023-04-25 21:17:00 +00:00
"build": {
2019-01-14 17:40:10 +00:00
"_publicPath": "/_nuxt/",
2023-04-25 21:17:00 +00:00
"additionalExtensions": [],
2019-11-24 15:39:45 +00:00
"aggressiveCodeRemoval": false,
2019-01-14 17:40:10 +00:00
"analyze": false,
2023-04-25 21:17:00 +00:00
"babel": {
2019-01-14 17:40:10 +00:00
"babelrc": false,
"cacheDirectory": false,
2019-03-24 17:44:22 +00:00
"configFile": false,
2019-01-14 17:40:10 +00:00
},
"cache": false,
2020-07-27 13:36:46 +00:00
"corejs": "auto",
2019-01-14 17:40:10 +00:00
"cssSourceMap": false,
2023-04-25 21:17:00 +00:00
"devMiddleware": {
2021-01-17 11:05:20 +00:00
"stats": "none",
},
2019-01-14 17:40:10 +00:00
"extractCSS": false,
2023-04-25 21:17:00 +00:00
"filenames": {
2019-01-14 17:40:10 +00:00
"app": [Function],
"chunk": [Function],
"css": [Function],
"font": [Function],
"img": [Function],
"video": [Function],
},
2019-09-29 09:06:44 +00:00
"followSymlinks": false,
2019-01-14 17:40:10 +00:00
"friendlyErrors": true,
"hardSource": false,
2023-04-25 21:17:00 +00:00
"hotMiddleware": {},
"html": {
"minify": {
2019-01-14 17:40:10 +00:00
"collapseBooleanAttributes": true,
"decodeEntities": true,
"minifyCSS": true,
"minifyJS": true,
"processConditionalComments": true,
"removeEmptyAttributes": true,
"removeRedundantAttributes": true,
"trimCustomFragments": true,
"useShortDoctype": true,
},
},
2020-03-13 20:23:33 +00:00
"indicator": false,
2023-04-25 21:17:00 +00:00
"loaders": {
"css": {
2020-12-01 11:40:50 +00:00
"esModule": false,
2023-04-25 21:17:00 +00:00
"modules": {
2021-03-22 10:30:19 +00:00
"compileType": "icss",
},
2019-01-14 17:40:10 +00:00
"sourceMap": false,
},
2023-04-25 21:17:00 +00:00
"cssModules": {
2020-12-01 11:40:50 +00:00
"esModule": false,
2023-04-25 21:17:00 +00:00
"modules": {
2019-06-15 10:13:05 +00:00
"localIdentName": "[local]_[hash:base64:5]",
},
2019-01-14 17:40:10 +00:00
"sourceMap": false,
},
2023-04-25 21:17:00 +00:00
"file": {
2020-12-01 11:40:50 +00:00
"esModule": false,
},
2023-04-25 21:17:00 +00:00
"fontUrl": {
2020-12-01 11:40:50 +00:00
"esModule": false,
2019-01-14 17:40:10 +00:00
"limit": 1000,
},
2023-04-25 21:17:00 +00:00
"imgUrl": {
2020-12-01 11:40:50 +00:00
"esModule": false,
2019-01-14 17:40:10 +00:00
"limit": 1000,
},
2023-04-25 21:17:00 +00:00
"less": {
2019-01-14 17:40:10 +00:00
"sourceMap": false,
},
2023-04-25 21:17:00 +00:00
"pugPlain": {},
"sass": {
"sassOptions": {
2019-09-26 12:10:54 +00:00
"indentedSyntax": true,
},
2019-01-14 17:40:10 +00:00
"sourceMap": false,
},
2023-04-25 21:17:00 +00:00
"scss": {
2019-01-14 17:40:10 +00:00
"sourceMap": false,
},
2023-04-25 21:17:00 +00:00
"stylus": {
2019-01-14 17:40:10 +00:00
"sourceMap": false,
},
2023-04-25 21:17:00 +00:00
"vue": {
2019-01-14 17:40:10 +00:00
"productionMode": true,
2023-04-25 21:17:00 +00:00
"transformAssetUrls": {
2019-01-14 17:40:10 +00:00
"embed": "src",
"object": "src",
"source": "src",
"video": "src",
},
},
2023-04-25 21:17:00 +00:00
"vueStyle": {
2019-01-14 17:40:10 +00:00
"sourceMap": false,
},
},
2020-03-13 20:23:33 +00:00
"loadingScreen": false,
2023-04-25 21:17:00 +00:00
"optimization": {
2019-01-14 17:40:10 +00:00
"minimize": true,
"minimizer": undefined,
"runtimeChunk": "single",
2023-04-25 21:17:00 +00:00
"splitChunks": {
2020-07-30 14:22:03 +00:00
"automaticNameDelimiter": "/",
2023-04-25 21:17:00 +00:00
"cacheGroups": {},
2019-01-14 17:40:10 +00:00
"chunks": "all",
},
},
"optimizeCSS": false,
"parallel": false,
2023-04-25 21:17:00 +00:00
"plugins": [],
"postcss": {
"postcssOptions": {},
2019-01-14 17:40:10 +00:00
},
"profile": false,
"publicPath": "/_nuxt/",
"quiet": true,
2020-01-19 08:37:06 +00:00
"serverURLPolyfill": "url",
2023-04-25 21:17:00 +00:00
"splitChunks": {
2019-01-14 17:40:10 +00:00
"commons": true,
"layouts": false,
"pages": true,
},
"ssr": true,
"standalone": false,
"stats": false,
2023-04-25 21:17:00 +00:00
"styleResources": {},
2019-01-14 17:40:10 +00:00
"template": undefined,
2023-04-25 21:17:00 +00:00
"templates": [],
"terser": {},
"transpile": [],
"warningIgnoreFilters": [],
"watch": [],
2019-01-14 17:40:10 +00:00
},
2019-01-14 19:47:00 +00:00
"buildDir": "/var/nuxt/test/.nuxt",
2023-04-25 21:17:00 +00:00
"buildModules": [],
"cli": {
"badgeMessages": [],
2019-09-30 08:46:58 +00:00
"bannerColor": "green",
2019-01-14 17:40:10 +00:00
},
2020-06-11 13:59:13 +00:00
"createRequire": [MockFunction],
2023-04-25 21:17:00 +00:00
"css": [],
2019-01-14 17:40:10 +00:00
"debug": false,
"dev": false,
2023-04-25 21:17:00 +00:00
"dir": {
2019-07-24 11:35:50 +00:00
"app": "app",
2019-01-14 17:40:10 +00:00
"assets": "assets",
"layouts": "layouts",
"middleware": "middleware",
"pages": "pages",
"static": "static",
"store": "store",
},
"editor": undefined,
2023-04-25 21:17:00 +00:00
"env": {},
2019-09-04 12:19:50 +00:00
"extendPlugins": null,
2023-04-25 21:17:00 +00:00
"extensions": [
2019-01-14 17:40:10 +00:00
"js",
"mjs",
],
2023-04-25 21:17:00 +00:00
"features": {
2019-09-05 15:15:27 +00:00
"asyncData": true,
"clientOnline": true,
"clientPrefetch": true,
"componentAliases": true,
"componentClientOnly": true,
"deprecations": true,
"fetch": true,
"layouts": true,
"meta": true,
"middleware": true,
"store": true,
"transitions": true,
"validate": true,
},
2023-04-25 21:17:00 +00:00
"fetch": {
2019-02-14 15:56:58 +00:00
"client": true,
"server": true,
},
2023-04-25 21:17:00 +00:00
"generate": {
"cache": {
"globbyOptions": {
2020-07-16 15:10:54 +00:00
"gitignore": true,
},
2023-04-25 21:17:00 +00:00
"ignore": [],
2020-07-16 15:10:54 +00:00
},
2019-01-14 17:40:10 +00:00
"concurrency": 500,
2020-05-07 19:08:01 +00:00
"crawler": true,
2019-01-14 19:47:00 +00:00
"dir": "/var/nuxt/test/dist",
2023-04-25 21:17:00 +00:00
"exclude": [],
2019-01-14 17:40:10 +00:00
"fallback": "200.html",
2021-05-26 07:05:11 +00:00
"ignoreEnv": false,
2019-01-14 17:40:10 +00:00
"interval": 0,
2020-11-25 14:19:29 +00:00
"manifest": true,
2021-02-24 21:01:01 +00:00
"nojekyll": true,
2023-04-25 21:17:00 +00:00
"routes": [],
"staticAssets": {
2020-05-07 19:08:01 +00:00
"base": "/_nuxt/static",
"dir": "static",
"version": "x",
"versionBase": "/_nuxt/static/x",
},
2019-01-14 17:40:10 +00:00
"subFolders": true,
},
"globalName": "nuxt",
2023-04-25 21:17:00 +00:00
"globals": {
2019-01-14 17:40:10 +00:00
"context": [Function],
"id": [Function],
"loadedCallback": [Function],
"nuxt": [Function],
"pluginPrefix": [Function],
"readyCallback": [Function],
},
2023-04-25 21:17:00 +00:00
"head": {
"link": [],
"meta": [],
"script": [],
"style": [],
2019-01-14 17:40:10 +00:00
},
"hooks": null,
2023-04-25 21:17:00 +00:00
"ignore": [
2019-01-14 17:40:10 +00:00
"**/*.test.*",
"**/*.spec.*",
"**/-*.*",
],
2019-11-24 12:28:37 +00:00
"ignoreOptions": undefined,
2019-01-14 17:40:10 +00:00
"ignorePrefix": "-",
2023-04-25 21:17:00 +00:00
"layoutTransition": {
2019-01-14 17:40:10 +00:00
"mode": "out-in",
"name": "layout",
},
2023-04-25 21:17:00 +00:00
"layouts": {},
"loading": {
2019-01-14 17:40:10 +00:00
"color": "black",
"continuous": false,
"css": true,
"duration": 5000,
"failedColor": "red",
"height": "2px",
"rtl": false,
"throttle": 200,
},
2023-04-25 21:17:00 +00:00
"loadingIndicator": {
2019-01-14 17:40:10 +00:00
"background": "white",
"color": "black",
"color2": "#F5F5F5",
"dev": false,
"loading": "Loading...",
"name": "default",
},
2023-04-25 21:17:00 +00:00
"messages": {
2019-01-14 17:40:10 +00:00
"back_to_home": "Back to the home page",
"client_error": "Error",
"client_error_details": "An error occurred while rendering the page. Check developer tools console for details.",
"error_404": "This page could not be found",
"loading": "Loading...",
2020-11-30 22:44:04 +00:00
"nuxtjs": "Nuxt",
2019-01-14 17:40:10 +00:00
"server_error": "Server error",
"server_error_details": "An error occurred in the application and your page could not be served. If you are the application owner, check your logs for details.",
},
"mode": "universal",
"modern": undefined,
2023-04-25 21:17:00 +00:00
"modes": {
"spa": {
"build": {
2019-01-14 17:40:10 +00:00
"ssr": false,
},
2023-04-25 21:17:00 +00:00
"render": {
2019-01-14 17:40:10 +00:00
"ssr": false,
},
},
2023-04-25 21:17:00 +00:00
"universal": {
"build": {
2019-01-14 17:40:10 +00:00
"ssr": true,
},
2023-04-25 21:17:00 +00:00
"render": {
2019-01-14 17:40:10 +00:00
"ssr": true,
},
},
},
2023-04-25 21:17:00 +00:00
"modules": [],
"modulesDir": [
2019-01-14 20:31:39 +00:00
"/var/nuxt/node_modules",
"/var/nuxt/test/node_modules",
],
2023-04-25 21:17:00 +00:00
"pageTransition": {
2019-04-20 10:01:59 +00:00
"appear": false,
"appearActiveClass": "appear-active",
"appearClass": "appear",
"appearToClass": "appear-to",
"mode": "out-in",
"name": "page",
},
2023-04-25 21:17:00 +00:00
"plugins": [],
"privateRuntimeConfig": {},
"publicRuntimeConfig": {
"_app": {
2020-12-22 17:15:59 +00:00
"assetsPath": "/_nuxt/",
"basePath": "/",
"cdnURL": null,
},
},
2023-04-25 21:17:00 +00:00
"render": {
"bundleRenderer": {
2019-01-14 17:40:10 +00:00
"runInNewContext": false,
"shouldPrefetch": [Function],
"shouldPreload": [Function],
},
2023-04-25 21:17:00 +00:00
"compressor": {
2019-01-14 17:40:10 +00:00
"threshold": 0,
},
2020-04-07 09:38:49 +00:00
"crossorigin": undefined,
2019-01-14 17:40:10 +00:00
"csp": false,
2023-04-25 21:17:00 +00:00
"dist": {
2019-01-14 17:40:10 +00:00
"index": false,
"maxAge": "1y",
},
2023-04-25 21:17:00 +00:00
"etag": {
2019-01-14 17:40:10 +00:00
"weak": false,
},
2023-04-25 21:17:00 +00:00
"fallback": {
"dist": {},
"static": {
"handlers": {
2019-01-14 17:40:10 +00:00
".htm": false,
".html": false,
},
"skipUnknown": true,
},
},
2023-04-25 21:17:00 +00:00
"http2": {
2019-01-14 17:40:10 +00:00
"push": false,
"pushAssets": null,
"shouldPush": null,
},
"resourceHints": true,
"ssr": true,
2019-05-23 09:49:16 +00:00
"ssrLog": false,
2023-04-25 21:17:00 +00:00
"static": {
2019-01-14 17:40:10 +00:00
"prefix": true,
},
},
2019-01-14 19:47:00 +00:00
"rootDir": "/var/nuxt/test",
2023-04-25 21:17:00 +00:00
"router": {
2019-01-14 17:40:10 +00:00
"base": "/",
"extendRoutes": null,
"fallback": false,
"linkActiveClass": "nuxt-link-active",
"linkExactActiveClass": "nuxt-link-exact-active",
"linkPrefetchedClass": false,
2023-04-25 21:17:00 +00:00
"middleware": [],
2019-01-14 17:40:10 +00:00
"mode": "history",
"parseQuery": false,
"prefetchLinks": true,
2020-05-07 19:08:01 +00:00
"prefetchPayloads": true,
2019-01-14 17:40:10 +00:00
"routeNameSplitter": "-",
2023-04-25 21:17:00 +00:00
"routes": [],
2019-01-14 17:40:10 +00:00
"scrollBehavior": null,
"stringifyQuery": false,
2019-09-01 14:37:25 +00:00
"trailingSlash": undefined,
2019-01-14 17:40:10 +00:00
},
2023-04-25 21:17:00 +00:00
"server": {
2019-01-14 17:40:10 +00:00
"host": "localhost",
"https": false,
"port": 3000,
"socket": undefined,
2019-01-19 18:14:54 +00:00
"timing": false,
2019-01-14 17:40:10 +00:00
},
2023-04-25 21:17:00 +00:00
"serverMiddleware": [],
2019-01-14 19:47:00 +00:00
"srcDir": "/var/nuxt/test",
2020-05-07 19:08:01 +00:00
"ssr": true,
2023-04-25 21:17:00 +00:00
"styleExtensions": [
2019-01-14 17:40:10 +00:00
"css",
"pcss",
"postcss",
"styl",
"stylus",
"scss",
"sass",
"less",
],
2020-05-07 19:08:01 +00:00
"target": "server",
2019-01-14 17:40:10 +00:00
"test": true,
2023-04-25 21:17:00 +00:00
"vue": {
"config": {
2019-01-14 17:40:10 +00:00
"performance": false,
"silent": true,
},
},
2019-09-18 13:51:44 +00:00
"vueMeta": null,
2023-04-25 21:17:00 +00:00
"watch": [
2019-01-14 19:47:00 +00:00
"/var/nuxt/test/nuxt.config.js",
2019-01-14 17:40:10 +00:00
],
2023-04-25 21:17:00 +00:00
"watchers": {
"chokidar": {
2019-01-14 17:40:10 +00:00
"ignoreInitial": true,
},
2019-05-27 09:06:53 +00:00
"rewatchOnRawEvents": undefined,
2023-04-25 21:17:00 +00:00
"webpack": {
2019-08-21 19:04:04 +00:00
"aggregateTimeout": 1000,
},
2019-01-14 17:40:10 +00:00
},
}
`;