nuxt-typed-router 3.1.1 → 3.1.2
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/module.json +1 -1
- package/dist/module.mjs +1 -1
- package/package.json +1 -1
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -1681,7 +1681,7 @@ async function removeNuxtDefinitions({
|
|
|
1681
1681
|
}
|
|
1682
1682
|
if (autoImport) {
|
|
1683
1683
|
const importsFilePath = resolve(buildDir, "types/imports.d.ts");
|
|
1684
|
-
if (importsFilePath) {
|
|
1684
|
+
if (existsSync(importsFilePath)) {
|
|
1685
1685
|
let globalDefinitions = await readFile(importsFilePath, {
|
|
1686
1686
|
encoding: "utf8"
|
|
1687
1687
|
});
|