nuxt-devtools-observatory 0.1.3 → 0.1.5
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 +4 -4
- package/dist/nitro/fetch-capture.mjs +2 -0
- package/package.json +1 -1
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -416,17 +416,17 @@ function transitionTrackerPlugin() {
|
|
|
416
416
|
return {
|
|
417
417
|
name: "observatory:transition-tracker",
|
|
418
418
|
enforce: "pre",
|
|
419
|
-
resolveId(id, importer) {
|
|
419
|
+
async resolveId(id, importer) {
|
|
420
420
|
if (id !== "vue") {
|
|
421
421
|
return;
|
|
422
422
|
}
|
|
423
423
|
if (!importer) {
|
|
424
424
|
return;
|
|
425
425
|
}
|
|
426
|
-
if (importer.includes("node_modules")) {
|
|
427
|
-
return;
|
|
428
|
-
}
|
|
429
426
|
if (importer.includes("obs:vue-proxy")) {
|
|
427
|
+
return this.resolve("vue", importer, { skipSelf: true });
|
|
428
|
+
}
|
|
429
|
+
if (importer.includes("node_modules")) {
|
|
430
430
|
return;
|
|
431
431
|
}
|
|
432
432
|
if (importer.includes("/src/runtime/") || importer.includes("/dist/runtime/")) {
|
package/package.json
CHANGED