Comparing version 0.5.2 to 0.5.3
@@ -6,2 +6,13 @@ # Change Log | ||
## [0.5.3](https://github.com/nuxt/framework/compare/@nuxt/kit@0.5.2...@nuxt/kit@0.5.3) (2021-04-28) | ||
### Bug Fixes | ||
* **cli:** support nuxt2-edge ([f0dfb42](https://github.com/nuxt/framework/commit/f0dfb42a586ae7087b95e8fd6e3f0e94532e64ea)) | ||
## [0.5.2](https://github.com/nuxt/framework/compare/@nuxt/kit@0.5.1...@nuxt/kit@0.5.2) (2021-04-28) | ||
@@ -8,0 +19,0 @@ |
@@ -875,3 +875,3 @@ 'use strict'; | ||
} | ||
const {loadNuxt: loadNuxt2} = requireModule("nuxt", resolveOpts); | ||
const {loadNuxt: loadNuxt2} = tryRequireModule("nuxt-edge", resolveOpts) || requireModule("nuxt", resolveOpts); | ||
const nuxt = await loadNuxt2({ | ||
@@ -886,7 +886,8 @@ rootDir: opts.rootDir, | ||
function buildNuxt(nuxt) { | ||
const resolveOpts = {paths: nuxt.options.rootDir}; | ||
if (nuxt.options._majorVersion === 3) { | ||
const {build: build2} = requireModule("nuxt3", {paths: nuxt.options.rootDir}); | ||
const {build: build2} = requireModule("nuxt3", resolveOpts); | ||
return build2(nuxt); | ||
} | ||
const {build} = requireModule("nuxt", {paths: nuxt.options.rootDir}); | ||
const {build} = tryRequireModule("nuxt-edge", resolveOpts) || requireModule("nuxt", resolveOpts); | ||
return build(nuxt); | ||
@@ -893,0 +894,0 @@ } |
{ | ||
"name": "@nuxt/kit", | ||
"version": "0.5.2", | ||
"version": "0.5.3", | ||
"repository": "nuxt/framework", | ||
@@ -33,3 +33,3 @@ "license": "MIT", | ||
}, | ||
"gitHead": "7255a890a054dfd98f95fc9acb1cbd59bb2d91db" | ||
"gitHead": "bfcd3b0e9c11e353b93fe619e88a3624f2d91959" | ||
} |
@@ -407,5 +407,5 @@ { | ||
"versionBase": "", | ||
"version": "1619619896" | ||
"version": "1619630271" | ||
} | ||
} | ||
} |
@@ -2019,4 +2019,4 @@ | ||
- **Type**: `string` | ||
- **Default**: `"1619619896"` | ||
- **Default**: `"1619630271"` | ||
> 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
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
390087
11316