@sveltejs/kit 1.0.0-next.433 → 1.0.0-next.434

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sveltejs/kit",
3
- "version": "1.0.0-next.433",
3
+ "version": "1.0.0-next.434",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/sveltejs/kit",
@@ -112,7 +112,7 @@ function update_types(config, manifest_data, route) {
112
112
  input_files.push(route.endpoint.file);
113
113
  }
114
114
 
115
- if (input_files.length === 0) return; // nothing to do
115
+ if (!route.leaf && !route.layout && !route.endpoint) return; // nothing to do
116
116
 
117
117
  try {
118
118
  fs.mkdirSync(outdir, { recursive: true });