@sveltejs/kit 1.0.0-next.407 → 1.0.0-next.408

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.407",
3
+ "version": "1.0.0-next.408",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/sveltejs/kit",
@@ -362,7 +362,7 @@ function trace(tree, id, layout_id = DEFAULT, project_relative) {
362
362
  layouts.unshift(layout);
363
363
  }
364
364
 
365
- const parent_layout_id = layout?.component?.split('@')[1]?.split('.')[0];
365
+ const parent_layout_id = layout?.component?.split('/').at(-1)?.split('@')[1]?.split('.')[0];
366
366
 
367
367
  if (parent_layout_id) {
368
368
  layout_id = parent_layout_id;