nitro-nightly 3.0.1-20251211-001255-afcf27ad → 3.0.1-20251211-152821-02fec455
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/_nitro.mjs +1 -1
- package/package.json +1 -1
package/dist/_nitro.mjs
CHANGED
|
@@ -239,7 +239,7 @@ async function resolveOpenAPIOptions(options) {
|
|
|
239
239
|
async function resolveTsconfig(options) {
|
|
240
240
|
const root = resolve(options.rootDir || ".") + "/";
|
|
241
241
|
if (!options.typescript.tsConfig) options.typescript.tsConfig = await loadTsconfig(root);
|
|
242
|
-
if (options.experimental.tsconfigPaths
|
|
242
|
+
if (options.experimental.tsconfigPaths && options.typescript.tsConfig.compilerOptions?.paths) options.alias = {
|
|
243
243
|
...tsConfigToAliasObj(options.typescript.tsConfig, root),
|
|
244
244
|
...options.alias
|
|
245
245
|
};
|
package/package.json
CHANGED