Comparing version 0.6.2 to 0.6.3
@@ -126,7 +126,7 @@ 'use strict'; | ||
var __defProp$5 = Object.defineProperty; | ||
var __getOwnPropSymbols$5 = Object.getOwnPropertySymbols; | ||
var __hasOwnProp$5 = Object.prototype.hasOwnProperty; | ||
var __getOwnPropSymbols$5 = Object.getOwnPropertySymbols; | ||
var __propIsEnum$5 = Object.prototype.propertyIsEnumerable; | ||
var __defNormalProp$5 = (obj, key, value) => key in obj ? __defProp$5(obj, key, {enumerable: true, configurable: true, writable: true, value}) : obj[key] = value; | ||
var __assign$5 = (a, b) => { | ||
var __defNormalProp$5 = (obj, key, value) => key in obj ? __defProp$5(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value; | ||
var __spreadValues$5 = (a, b) => { | ||
for (var prop in b || (b = {})) | ||
@@ -145,4 +145,4 @@ if (__hasOwnProp$5.call(b, prop)) | ||
config: { | ||
silent: {$resolve: (val, get) => val != null ? val : get("dev")}, | ||
performance: {$resolve: (val, get) => val != null ? val : get("dev")} | ||
silent: { $resolve: (val, get) => val != null ? val : get("dev") }, | ||
performance: { $resolve: (val, get) => val != null ? val : get("dev") } | ||
} | ||
@@ -204,5 +204,5 @@ }, | ||
if (typeof val === "string") { | ||
val = {name: val}; | ||
val = { name: val }; | ||
} | ||
return __assign$5({ | ||
return __spreadValues$5({ | ||
name: "default", | ||
@@ -218,6 +218,6 @@ color: get("loading.color") || "#D3D3D3", | ||
pageTransition: { | ||
$resolve: (val) => typeof val === "string" ? {name: val} : val, | ||
$resolve: (val) => typeof val === "string" ? { name: val } : val, | ||
name: "page", | ||
mode: "out-in", | ||
appear: {$resolve: (val, get) => get("render.ssr") === false ? true : Boolean(val)}, | ||
appear: { $resolve: (val, get) => get("render.ssr") === false ? true : Boolean(val) }, | ||
appearClass: "appear", | ||
@@ -228,3 +228,3 @@ appearActiveClass: "appear-active", | ||
layoutTransition: { | ||
$resolve: (val) => typeof val === "string" ? {name: val} : val, | ||
$resolve: (val) => typeof val === "string" ? { name: val } : val, | ||
name: "layout", | ||
@@ -251,7 +251,7 @@ mode: "out-in" | ||
var __defProp$4 = Object.defineProperty; | ||
var __getOwnPropSymbols$4 = Object.getOwnPropertySymbols; | ||
var __hasOwnProp$4 = Object.prototype.hasOwnProperty; | ||
var __getOwnPropSymbols$4 = Object.getOwnPropertySymbols; | ||
var __propIsEnum$4 = Object.prototype.propertyIsEnumerable; | ||
var __defNormalProp$4 = (obj, key, value) => key in obj ? __defProp$4(obj, key, {enumerable: true, configurable: true, writable: true, value}) : obj[key] = value; | ||
var __assign$4 = (a, b) => { | ||
var __defNormalProp$4 = (obj, key, value) => key in obj ? __defProp$4(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value; | ||
var __spreadValues$4 = (a, b) => { | ||
for (var prop in b || (b = {})) | ||
@@ -284,3 +284,3 @@ if (__hasOwnProp$4.call(b, prop)) | ||
$resolve: (val) => { | ||
val = __assign$4({}, val); | ||
val = __spreadValues$4({}, val); | ||
for (const key in process.env) { | ||
@@ -312,3 +312,3 @@ if (key.startsWith("NUXT_ENV_")) { | ||
$resolve: (val, get) => val || (get("ssr") ? "spa" : "universal"), | ||
$schema: {deprecated: "`mode` option is deprecated"} | ||
$schema: { deprecated: "`mode` option is deprecated" } | ||
}, | ||
@@ -336,3 +336,3 @@ modern: void 0, | ||
if (!Array.isArray(val)) { | ||
return Object.entries(val).map(([path, handler]) => ({path, handler})); | ||
return Object.entries(val).map(([path, handler]) => ({ path, handler })); | ||
} | ||
@@ -360,3 +360,3 @@ return val; | ||
alias: { | ||
$resolve: (val, get) => __assign$4({ | ||
$resolve: (val, get) => __spreadValues$4({ | ||
"~~": get("rootDir"), | ||
@@ -399,3 +399,3 @@ "@@": get("rootDir"), | ||
app: { | ||
$resolve: (val, get) => __assign$4(__assign$4({}, get("app")), val || {}) | ||
$resolve: (val, get) => __spreadValues$4(__spreadValues$4({}, get("app")), val || {}) | ||
} | ||
@@ -443,8 +443,8 @@ }, | ||
filenames: { | ||
app: ({isDev, isModern}) => isDev ? `[name]${isModern ? ".modern" : ""}.js` : `[contenthash:7]${isModern ? ".modern" : ""}.js`, | ||
chunk: ({isDev, isModern}) => isDev ? `[name]${isModern ? ".modern" : ""}.js` : `[contenthash:7]${isModern ? ".modern" : ""}.js`, | ||
css: ({isDev}) => isDev ? "[name].css" : "css/[contenthash:7].css", | ||
img: ({isDev}) => isDev ? "[path][name].[ext]" : "img/[name].[contenthash:7].[ext]", | ||
font: ({isDev}) => isDev ? "[path][name].[ext]" : "fonts/[name].[contenthash:7].[ext]", | ||
video: ({isDev}) => isDev ? "[path][name].[ext]" : "videos/[name].[contenthash:7].[ext]" | ||
app: ({ isDev, isModern }) => isDev ? `[name]${isModern ? ".modern" : ""}.js` : `[contenthash:7]${isModern ? ".modern" : ""}.js`, | ||
chunk: ({ isDev, isModern }) => isDev ? `[name]${isModern ? ".modern" : ""}.js` : `[contenthash:7]${isModern ? ".modern" : ""}.js`, | ||
css: ({ isDev }) => isDev ? "[name].css" : "css/[contenthash:7].css", | ||
img: ({ isDev }) => isDev ? "[path][name].[ext]" : "img/[name].[contenthash:7].[ext]", | ||
font: ({ isDev }) => isDev ? "[path][name].[ext]" : "fonts/[name].[contenthash:7].[ext]", | ||
video: ({ isDev }) => isDev ? "[path][name].[ext]" : "videos/[name].[contenthash:7].[ext]" | ||
}, | ||
@@ -470,8 +470,8 @@ loaders: { | ||
}, | ||
file: {esModule: false}, | ||
fontUrl: {esModule: false, limit: 1e3}, | ||
imgUrl: {esModule: false, limit: 1e3}, | ||
file: { esModule: false }, | ||
fontUrl: { esModule: false, limit: 1e3 }, | ||
imgUrl: { esModule: false, limit: 1e3 }, | ||
pugPlain: {}, | ||
vue: { | ||
productionMode: {$resolve: (val, get) => val != null ? val : get("dev")}, | ||
productionMode: { $resolve: (val, get) => val != null ? val : get("dev") }, | ||
transformAssetUrls: { | ||
@@ -515,3 +515,3 @@ video: "src", | ||
runtimeChunk: "single", | ||
minimize: {$resolve: (val, get) => val != null ? val : get("dev")}, | ||
minimize: { $resolve: (val, get) => val != null ? val : get("dev") }, | ||
minimizer: void 0, | ||
@@ -533,2 +533,3 @@ splitChunks: { | ||
babelrc: false, | ||
plugins: [], | ||
presets: {}, | ||
@@ -598,7 +599,7 @@ cacheDirectory: { | ||
var __defProp$3 = Object.defineProperty; | ||
var __getOwnPropSymbols$3 = Object.getOwnPropertySymbols; | ||
var __hasOwnProp$3 = Object.prototype.hasOwnProperty; | ||
var __getOwnPropSymbols$3 = Object.getOwnPropertySymbols; | ||
var __propIsEnum$3 = Object.prototype.propertyIsEnumerable; | ||
var __defNormalProp$3 = (obj, key, value) => key in obj ? __defProp$3(obj, key, {enumerable: true, configurable: true, writable: true, value}) : obj[key] = value; | ||
var __assign$3 = (a, b) => { | ||
var __defNormalProp$3 = (obj, key, value) => key in obj ? __defProp$3(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value; | ||
var __spreadValues$3 = (a, b) => { | ||
for (var prop in b || (b = {})) | ||
@@ -618,3 +619,3 @@ if (__hasOwnProp$3.call(b, prop)) | ||
shouldPreload: (_fileWithoutQuery, asType) => ["script", "style"].includes(asType), | ||
runInNewContext: {$resolve: (val, get) => val != null ? val : get("dev")} | ||
runInNewContext: { $resolve: (val, get) => val != null ? val : get("dev") } | ||
}, | ||
@@ -624,3 +625,3 @@ crossorigin: void 0, | ||
ssr: void 0, | ||
ssrLog: {$resolve: (val, get) => get("dev") ? Boolean(val) : false}, | ||
ssrLog: { $resolve: (val, get) => get("dev") ? Boolean(val) : false }, | ||
http2: { | ||
@@ -646,3 +647,3 @@ push: false, | ||
} | ||
return __assign$3({ | ||
return __spreadValues$3({ | ||
hashAlgorithm: "sha256", | ||
@@ -704,7 +705,7 @@ allowedSources: void 0, | ||
var __defProp$2 = Object.defineProperty; | ||
var __getOwnPropSymbols$2 = Object.getOwnPropertySymbols; | ||
var __hasOwnProp$2 = Object.prototype.hasOwnProperty; | ||
var __getOwnPropSymbols$2 = Object.getOwnPropertySymbols; | ||
var __propIsEnum$2 = Object.prototype.propertyIsEnumerable; | ||
var __defNormalProp$2 = (obj, key, value) => key in obj ? __defProp$2(obj, key, {enumerable: true, configurable: true, writable: true, value}) : obj[key] = value; | ||
var __assign$2 = (a, b) => { | ||
var __defNormalProp$2 = (obj, key, value) => key in obj ? __defProp$2(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value; | ||
var __spreadValues$2 = (a, b) => { | ||
for (var prop in b || (b = {})) | ||
@@ -725,3 +726,3 @@ if (__hasOwnProp$2.call(b, prop)) | ||
socket: process.env.UNIX_SOCKET || process.env.npm_package_config_unix_socket, | ||
timing: (val) => val ? __assign$2({total: true}, val) : false | ||
timing: (val) => val ? __spreadValues$2({ total: true }, val) : false | ||
}; | ||
@@ -743,3 +744,3 @@ | ||
subFolders: true, | ||
fallback: {$resolve: (val) => val === true ? "400.html" : val || "200.html"}, | ||
fallback: { $resolve: (val) => val === true ? "400.html" : val || "200.html" }, | ||
crawler: true, | ||
@@ -756,5 +757,5 @@ manifest: true, | ||
dir: "static", | ||
base: {$resolve: (val, get) => val || ufo.joinURL(get("app.assetsPath"), get("generate.dir"))}, | ||
versionBase: {$resolve: (val, get) => val || ufo.joinURL(get("generate.base"), get("generate.version"))}, | ||
version: {$resolve: (val) => val || String(Math.round(Date.now() / 1e3))} | ||
base: { $resolve: (val, get) => val || ufo.joinURL(get("app.assetsPath"), get("generate.dir")) }, | ||
versionBase: { $resolve: (val, get) => val || ufo.joinURL(get("generate.base"), get("generate.version")) }, | ||
version: { $resolve: (val) => val || String(Math.round(Date.now() / 1e3)) } | ||
} | ||
@@ -764,7 +765,9 @@ }; | ||
var __defProp$1 = Object.defineProperty; | ||
var __defProps = Object.defineProperties; | ||
var __getOwnPropDescs = Object.getOwnPropertyDescriptors; | ||
var __getOwnPropSymbols$1 = Object.getOwnPropertySymbols; | ||
var __hasOwnProp$1 = Object.prototype.hasOwnProperty; | ||
var __getOwnPropSymbols$1 = Object.getOwnPropertySymbols; | ||
var __propIsEnum$1 = Object.prototype.propertyIsEnumerable; | ||
var __defNormalProp$1 = (obj, key, value) => key in obj ? __defProp$1(obj, key, {enumerable: true, configurable: true, writable: true, value}) : obj[key] = value; | ||
var __assign$1 = (a, b) => { | ||
var __defNormalProp$1 = (obj, key, value) => key in obj ? __defProp$1(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value; | ||
var __spreadValues$1 = (a, b) => { | ||
for (var prop in b || (b = {})) | ||
@@ -780,3 +783,4 @@ if (__hasOwnProp$1.call(b, prop)) | ||
}; | ||
const nuxtConfigSchema = __assign$1(__assign$1(__assign$1(__assign$1({}, _app), _common), _internal), { | ||
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b)); | ||
const nuxtConfigSchema = __spreadProps(__spreadValues$1(__spreadValues$1(__spreadValues$1({}, _app), _common), _internal), { | ||
build, | ||
@@ -792,7 +796,7 @@ messages, | ||
var __defProp = Object.defineProperty; | ||
var __getOwnPropSymbols = Object.getOwnPropertySymbols; | ||
var __hasOwnProp = Object.prototype.hasOwnProperty; | ||
var __getOwnPropSymbols = Object.getOwnPropertySymbols; | ||
var __propIsEnum = Object.prototype.propertyIsEnumerable; | ||
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, {enumerable: true, configurable: true, writable: true, value}) : obj[key] = value; | ||
var __assign = (a, b) => { | ||
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value; | ||
var __spreadValues = (a, b) => { | ||
for (var prop in b || (b = {})) | ||
@@ -813,8 +817,8 @@ if (__hasOwnProp.call(b, prop)) | ||
if (nuxtConfigFile && fs.existsSync(nuxtConfigFile)) { | ||
nuxtConfig = requireModule(nuxtConfigFile, {clearCache: true}); | ||
nuxtConfig = __assign({}, nuxtConfig); | ||
nuxtConfig = requireModule(nuxtConfigFile, { clearCache: true }); | ||
nuxtConfig = __spreadValues({}, nuxtConfig); | ||
nuxtConfig._nuxtConfigFile = nuxtConfigFile; | ||
nuxtConfig._nuxtConfigFiles = Array.from(scanRequireTree(nuxtConfigFile)); | ||
} | ||
nuxtConfig = defu__default(opts.config, nuxtConfig, rc__namespace.read({name: ".nuxtrc", dir: rootDir}), rc__namespace.readUser(".nuxtrc")); | ||
nuxtConfig = defu__default(opts.config, nuxtConfig, rc__namespace.read({ name: ".nuxtrc", dir: rootDir }), rc__namespace.readUser(".nuxtrc")); | ||
if (!nuxtConfig.rootDir) { | ||
@@ -895,3 +899,3 @@ nuxtConfig.rootDir = rootDir; | ||
async function loadNuxt(opts) { | ||
const resolveOpts = {paths: opts.rootDir}; | ||
const resolveOpts = { paths: opts.rootDir }; | ||
if (!opts.version) { | ||
@@ -901,7 +905,7 @@ opts.version = tryResolveModule("nuxt3", resolveOpts) ? 3 : 2; | ||
if (opts.version !== 2) { | ||
const {loadNuxt: loadNuxt3} = requireModule("nuxt3", resolveOpts); | ||
const { loadNuxt: loadNuxt3 } = requireModule("nuxt3", resolveOpts); | ||
const nuxt2 = await loadNuxt3(opts); | ||
return nuxt2; | ||
} | ||
const {loadNuxt: loadNuxt2} = tryRequireModule("nuxt-edge", resolveOpts) || requireModule("nuxt", resolveOpts); | ||
const { loadNuxt: loadNuxt2 } = tryRequireModule("nuxt-edge", resolveOpts) || requireModule("nuxt", resolveOpts); | ||
const nuxt = await loadNuxt2({ | ||
@@ -916,8 +920,8 @@ rootDir: opts.rootDir, | ||
function buildNuxt(nuxt) { | ||
const resolveOpts = {paths: nuxt.options.rootDir}; | ||
const resolveOpts = { paths: nuxt.options.rootDir }; | ||
if (nuxt.options._majorVersion === 3) { | ||
const {build: build2} = requireModule("nuxt3", resolveOpts); | ||
const { build: build2 } = requireModule("nuxt3", resolveOpts); | ||
return build2(nuxt); | ||
} | ||
const {build} = tryRequireModule("nuxt-edge", resolveOpts) || requireModule("nuxt", resolveOpts); | ||
const { build } = tryRequireModule("nuxt-edge", resolveOpts) || requireModule("nuxt", resolveOpts); | ||
return build(nuxt); | ||
@@ -968,3 +972,3 @@ } | ||
const nuxt = useNuxt(); | ||
const {dst} = addTemplate(tmpl); | ||
const { dst } = addTemplate(tmpl); | ||
if (!tmpl.mode && typeof tmpl.ssr === "boolean") { | ||
@@ -980,3 +984,3 @@ tmpl.mode = tmpl.ssr ? "server" : "client"; | ||
const nuxt = useNuxt(); | ||
const {dst, src} = addTemplate(tmpl); | ||
const { dst, src } = addTemplate(tmpl); | ||
const layoutName = name || path__default.parse(src).name; | ||
@@ -1043,2 +1047,5 @@ const layout = nuxt.options.layouts[layoutName]; | ||
for (const key in alias) { | ||
if (key === "@") { | ||
continue; | ||
} | ||
if (path.startsWith(key)) { | ||
@@ -1110,3 +1117,3 @@ path = alias[key] + path.substr(key.length); | ||
if (typeof src === "string") { | ||
const _src = resolveModule(resolveAlias(src, nuxt.options.alias), {paths: nuxt.options.modulesDir}); | ||
const _src = resolveModule(resolveAlias(src, nuxt.options.alias), { paths: nuxt.options.modulesDir }); | ||
handler = requireModule(_src); | ||
@@ -1113,0 +1120,0 @@ if (!meta.name) { |
{ | ||
"name": "@nuxt/kit", | ||
"version": "0.6.2", | ||
"version": "0.6.3", | ||
"repository": "nuxt/framework", | ||
@@ -13,3 +13,2 @@ "license": "MIT", | ||
"scripts": { | ||
"prepack": "unbuild" | ||
}, | ||
@@ -26,3 +25,3 @@ "devDependencies": { | ||
"hash-sum": "^2.0.0", | ||
"jiti": "^1.9.2", | ||
"jiti": "^1.10.1", | ||
"rc9": "^1.2.0", | ||
@@ -35,4 +34,3 @@ "scule": "^0.2.1", | ||
"upath": "^2.0.1" | ||
}, | ||
"gitHead": "8aae9ef7b2ae32e2ea7d0face55523118f6ea082" | ||
} | ||
} |
{ | ||
"rootDir": "/home/pooya/Code/framework/packages/kit/<rootDir>", | ||
"rootDir": "/Users/daniel/code/nuxt/framework/packages/kit/<rootDir>", | ||
"dev": true, | ||
@@ -102,2 +102,3 @@ "vue": { | ||
"babelrc": false, | ||
"plugins": [], | ||
"presets": {}, | ||
@@ -173,5 +174,5 @@ "cacheDirectory": true | ||
}, | ||
"srcDir": "/home/pooya/Code/framework/packages/kit/<rootDir>", | ||
"buildDir": "/home/pooya/Code/framework/packages/kit/<rootDir>/.nuxt", | ||
"appTemplatePath": "/home/pooya/Code/framework/packages/kit/<rootDir>/.nuxt/views/app.template.html", | ||
"srcDir": "/Users/daniel/code/nuxt/framework/packages/kit/<rootDir>", | ||
"buildDir": "/Users/daniel/code/nuxt/framework/packages/kit/<rootDir>/.nuxt", | ||
"appTemplatePath": "/Users/daniel/code/nuxt/framework/packages/kit/<rootDir>/.nuxt/views/app.template.html", | ||
"dir": { | ||
@@ -313,4 +314,4 @@ "store": "store", | ||
"modulesDir": [ | ||
"/home/pooya/Code/framework/packages/kit/<rootDir>/node_modules", | ||
"/home/pooya/Code/framework/packages/kit/node_modules" | ||
"/Users/daniel/code/nuxt/framework/packages/kit/<rootDir>/node_modules", | ||
"/Users/daniel/code/nuxt/framework/packages/kit/node_modules" | ||
], | ||
@@ -335,8 +336,8 @@ "extensions": [ | ||
"alias": { | ||
"~~": "/home/pooya/Code/framework/packages/kit/<rootDir>", | ||
"@@": "/home/pooya/Code/framework/packages/kit/<rootDir>", | ||
"~": "/home/pooya/Code/framework/packages/kit/<rootDir>", | ||
"@": "/home/pooya/Code/framework/packages/kit/<rootDir>", | ||
"assets": "/home/pooya/Code/framework/packages/kit/<rootDir>/assets", | ||
"static": "/home/pooya/Code/framework/packages/kit/<rootDir>" | ||
"~~": "/Users/daniel/code/nuxt/framework/packages/kit/<rootDir>", | ||
"@@": "/Users/daniel/code/nuxt/framework/packages/kit/<rootDir>", | ||
"~": "/Users/daniel/code/nuxt/framework/packages/kit/<rootDir>", | ||
"@": "/Users/daniel/code/nuxt/framework/packages/kit/<rootDir>", | ||
"assets": "/Users/daniel/code/nuxt/framework/packages/kit/<rootDir>/assets", | ||
"static": "/Users/daniel/code/nuxt/framework/packages/kit/<rootDir>" | ||
}, | ||
@@ -391,3 +392,3 @@ "ignoreOptions": {}, | ||
"generate": { | ||
"dir": "/home/pooya/Code/framework/packages/kit/<rootDir>/dist", | ||
"dir": "/Users/daniel/code/nuxt/framework/packages/kit/<rootDir>/dist", | ||
"routes": [], | ||
@@ -410,7 +411,7 @@ "exclude": [], | ||
"dir": "static", | ||
"base": "/home/pooya/Code/framework/packages/kit/<rootDir>/dist", | ||
"base": "/Users/daniel/code/nuxt/framework/packages/kit/<rootDir>/dist", | ||
"versionBase": "", | ||
"version": "1622834367" | ||
"version": "1623843791" | ||
} | ||
} | ||
} |
@@ -21,3 +21,3 @@ | ||
- **Type**: `string` | ||
- **Default**: `"/home/pooya/Code/framework/packages/kit/<rootDir>/.nuxt/views/app.template.html"` | ||
- **Default**: `"/Users/daniel/code/nuxt/framework/packages/kit/<rootDir>/.nuxt/views/app.template.html"` | ||
@@ -358,3 +358,3 @@ > The path to a templated HTML file for rendering Nuxt responses. | ||
- **Type**: `string` | ||
- **Default**: `"/home/pooya/Code/framework/packages/kit/<rootDir>"` | ||
- **Default**: `"/Users/daniel/code/nuxt/framework/packages/kit/<rootDir>"` | ||
@@ -372,3 +372,3 @@ > Define the workspace directory of your application. | ||
- **Type**: `string` | ||
- **Default**: `"/home/pooya/Code/framework/packages/kit/<rootDir>"` | ||
- **Default**: `"/Users/daniel/code/nuxt/framework/packages/kit/<rootDir>"` | ||
@@ -383,3 +383,3 @@ > Define the source directory of your Nuxt application. | ||
- **Type**: `string` | ||
- **Default**: `"/home/pooya/Code/framework/packages/kit/<rootDir>/.nuxt"` | ||
- **Default**: `"/Users/daniel/code/nuxt/framework/packages/kit/<rootDir>/.nuxt"` | ||
@@ -601,3 +601,3 @@ > Define the directory where your built Nuxt files will be placed. | ||
- **Type**: `array` | ||
- **Default**: `["/home/pooya/Code/framework/packages/kit/<rootDir>/node_modules","/home/pooya/Code/framework/packages/kit/node_modules"]` | ||
- **Default**: `["/Users/daniel/code/nuxt/framework/packages/kit/<rootDir>/node_modules","/Users/daniel/code/nuxt/framework/packages/kit/node_modules"]` | ||
@@ -1248,2 +1248,14 @@ > Used to set the modules directories for path resolving (for example, webpack's | ||
### `plugins` | ||
- **Type**: `array` | ||
- **Default**: `[]` | ||
> An array of Babel plugins to load, or a function that takes webpack context and returns | ||
an array of Babel plugins. | ||
For more information see [Babel plugins options](https://babeljs.io/docs/en/options#plugins) | ||
and [babel-loader options](https://github.com/babel/babel-loader#options). | ||
### `presets` | ||
@@ -1889,3 +1901,3 @@ - **Type**: `any` | ||
- **Type**: `string` | ||
- **Default**: `"/home/pooya/Code/framework/packages/kit/<rootDir>/dist"` | ||
- **Default**: `"/Users/daniel/code/nuxt/framework/packages/kit/<rootDir>/dist"` | ||
@@ -2009,3 +2021,3 @@ > Directory name that holds all the assets and generated pages for a `static` build. | ||
- **Type**: `string` | ||
- **Default**: `"/home/pooya/Code/framework/packages/kit/<rootDir>/dist"` | ||
- **Default**: `"/Users/daniel/code/nuxt/framework/packages/kit/<rootDir>/dist"` | ||
@@ -2027,4 +2039,4 @@ > The full path to the directory underneath `/_nuxt/` where static assets | ||
- **Type**: `string` | ||
- **Default**: `"1622834367"` | ||
- **Default**: `"1623843791"` | ||
> A unique string to uniquely identify payload versions (defaults to the current timestamp). |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
396038
9
11418
1
Updatedjiti@^1.10.1