@uni-helper/vite-plugin-uni-pages 0.2.1 → 0.2.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/index.cjs +4 -6
- package/dist/index.mjs +4 -6
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -221,12 +221,10 @@ ${err.message}`
|
|
|
221
221
|
);
|
|
222
222
|
}
|
|
223
223
|
}
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
};
|
|
229
|
-
}
|
|
224
|
+
return {
|
|
225
|
+
attr,
|
|
226
|
+
content: content ?? {}
|
|
227
|
+
};
|
|
230
228
|
}
|
|
231
229
|
async function getRouteBlock(path, options) {
|
|
232
230
|
const content = fs__default.readFileSync(path, "utf8");
|
package/dist/index.mjs
CHANGED
|
@@ -207,12 +207,10 @@ ${err.message}`
|
|
|
207
207
|
);
|
|
208
208
|
}
|
|
209
209
|
}
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
};
|
|
215
|
-
}
|
|
210
|
+
return {
|
|
211
|
+
attr,
|
|
212
|
+
content: content ?? {}
|
|
213
|
+
};
|
|
216
214
|
}
|
|
217
215
|
async function getRouteBlock(path, options) {
|
|
218
216
|
const content = fs.readFileSync(path, "utf8");
|