vitest 0.0.77 → 0.0.78
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/cli.js +2 -2
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -632,7 +632,7 @@ const cac = (name = "") => new CAC(name);
|
|
|
632
632
|
|
|
633
633
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
634
634
|
|
|
635
|
-
var version = "0.0.
|
|
635
|
+
var version = "0.0.78";
|
|
636
636
|
|
|
637
637
|
const ESC = '\u001B[';
|
|
638
638
|
const OSC = '\u001B]';
|
|
@@ -2196,7 +2196,7 @@ function resolveConfig(resolved, viteConfig) {
|
|
|
2196
2196
|
}
|
|
2197
2197
|
|
|
2198
2198
|
async function transformRequest(server, id) {
|
|
2199
|
-
if (id.match(/\.(?:[cm]?[jt]
|
|
2199
|
+
if (id.match(/\.(?:[cm]?[jt]sx?|json)$/)) {
|
|
2200
2200
|
return await server.transformRequest(id, { ssr: true });
|
|
2201
2201
|
} else {
|
|
2202
2202
|
const result = await server.transformRequest(id);
|