@nuxt/config
Advanced tools
Comparing version 2.15.3 to 2.15.4
/*! | ||
* @nuxt/config v2.15.3 (c) 2016-2021 | ||
* @nuxt/config v2.15.4 (c) 2016-2021 | ||
* Released under the MIT License | ||
@@ -25,2 +25,22 @@ * Repository: https://github.com/nuxt/nuxt.js | ||
function _interopNamespace(e) { | ||
if (e && e.__esModule) return e; | ||
var n = Object.create(null); | ||
if (e) { | ||
Object.keys(e).forEach(function (k) { | ||
if (k !== 'default') { | ||
var d = Object.getOwnPropertyDescriptor(e, k); | ||
Object.defineProperty(n, k, d.get ? d : { | ||
enumerable: true, | ||
get: function () { | ||
return e[k]; | ||
} | ||
}); | ||
} | ||
}); | ||
} | ||
n['default'] = e; | ||
return Object.freeze(n); | ||
} | ||
const env__default = /*#__PURE__*/_interopDefaultLegacy(env); | ||
@@ -33,2 +53,3 @@ const path__default = /*#__PURE__*/_interopDefaultLegacy(path); | ||
const dotenv__default = /*#__PURE__*/_interopDefaultLegacy(dotenv); | ||
const rc__namespace = /*#__PURE__*/_interopNamespace(rc); | ||
@@ -235,3 +256,8 @@ const _app = () => ({ | ||
}, | ||
css: { esModule: false }, | ||
css: { | ||
esModule: false, | ||
modules: { | ||
compileType: 'icss' | ||
} | ||
}, | ||
cssModules: { | ||
@@ -945,5 +971,5 @@ esModule: false, | ||
}); | ||
// Expose app config to $config.app | ||
// Expose app config to $config._app | ||
options.publicRuntimeConfig = options.publicRuntimeConfig || {}; | ||
options.publicRuntimeConfig.app = options.app; | ||
options.publicRuntimeConfig._app = options.app; | ||
@@ -1099,4 +1125,4 @@ // Generate staticAssets | ||
options, | ||
rc.read({ name: '.nuxtrc', dir: options.rootDir }), | ||
rc.readUser('.nuxtrc') | ||
rc__namespace.read({ name: '.nuxtrc', dir: options.rootDir }), | ||
rc__namespace.readUser('.nuxtrc') | ||
); | ||
@@ -1103,0 +1129,0 @@ |
{ | ||
"name": "@nuxt/config", | ||
"version": "2.15.3", | ||
"version": "2.15.4", | ||
"repository": "nuxt/nuxt.js", | ||
@@ -13,3 +13,3 @@ "license": "MIT", | ||
"dependencies": { | ||
"@nuxt/utils": "2.15.3", | ||
"@nuxt/utils": "2.15.4", | ||
"consola": "^2.15.3", | ||
@@ -16,0 +16,0 @@ "defu": "^3.2.2", |
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
35495
1052
+ Added@nuxt/utils@2.15.4(transitive)
- Removed@nuxt/utils@2.15.3(transitive)
Updated@nuxt/utils@2.15.4