@nuxt/config
Advanced tools
Comparing version 2.15.2 to 2.15.3
/*! | ||
* @nuxt/config v2.15.2 (c) 2016-2021 | ||
* @nuxt/config v2.15.3 (c) 2016-2021 | ||
* Released under the MIT License | ||
@@ -935,5 +935,7 @@ * Repository: https://github.com/nuxt/nuxt.js | ||
const useCDN = utils.isUrl(options.build.publicPath) && !options.dev; | ||
const isRelativePublicPath = ufo.isRelative(options.build.publicPath); | ||
options.app = defu__default['default'](options.app, { | ||
basePath: options.router.base, | ||
assetsPath: useCDN ? '/' : ufo.joinURL(options.router.base, options.build.publicPath), | ||
assetsPath: isRelativePublicPath ? options.build.publicPath : useCDN ? '/' : ufo.joinURL(options.router.base, options.build.publicPath), | ||
cdnURL: useCDN ? options.build.publicPath : null | ||
@@ -940,0 +942,0 @@ }); |
{ | ||
"name": "@nuxt/config", | ||
"version": "2.15.2", | ||
"version": "2.15.3", | ||
"repository": "nuxt/nuxt.js", | ||
@@ -13,3 +13,3 @@ "license": "MIT", | ||
"dependencies": { | ||
"@nuxt/utils": "2.15.2", | ||
"@nuxt/utils": "2.15.3", | ||
"consola": "^2.15.3", | ||
@@ -22,3 +22,3 @@ "defu": "^3.2.2", | ||
"std-env": "^2.3.0", | ||
"ufo": "^0.6.7" | ||
"ufo": "^0.6.10" | ||
}, | ||
@@ -25,0 +25,0 @@ "publishConfig": { |
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
34888
1027
+ Added@nuxt/utils@2.15.3(transitive)
- Removed@nuxt/utils@2.15.2(transitive)
Updated@nuxt/utils@2.15.3
Updatedufo@^0.6.10