c12 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -133,7 +133,7 @@ async function loadConfig(opts) {
133
133
  const baseLayers = [
134
134
  opts.overrides && { config: opts.overrides, configFile: void 0, cwd: void 0 },
135
135
  { config, configFile: opts.configFile, cwd: opts.cwd },
136
- opts.rcFile && { config: configRC, configFile: opts.rcFile }
136
+ opts.rcFile && { config: configRC, configFile: void 0 }
137
137
  ].filter((l) => l && l.config && Object.keys(l.config).length);
138
138
  if (opts.extend) {
139
139
  await extendConfig(r.config, opts);
package/dist/index.mjs CHANGED
@@ -109,7 +109,7 @@ async function loadConfig(opts) {
109
109
  const baseLayers = [
110
110
  opts.overrides && { config: opts.overrides, configFile: void 0, cwd: void 0 },
111
111
  { config, configFile: opts.configFile, cwd: opts.cwd },
112
- opts.rcFile && { config: configRC, configFile: opts.rcFile }
112
+ opts.rcFile && { config: configRC, configFile: void 0 }
113
113
  ].filter((l) => l && l.config && Object.keys(l.config).length);
114
114
  if (opts.extend) {
115
115
  await extendConfig(r.config, opts);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "c12",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Smart Config Loader",
5
5
  "repository": "unjs/c12",
6
6
  "license": "MIT",