@storybook/nextjs-vite 10.0.0-beta.3 → 10.0.0-beta.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/_node-chunks/{chunk-6GXQEW3Q.js → chunk-MDGZW3NG.js} +6 -6
- package/dist/_node-chunks/{dist-PHXEQNBA.js → dist-67VPEUXU.js} +8 -8
- package/dist/_node-chunks/{jiti-XF7QEU2L.js → jiti-BQF4OAP3.js} +12342 -12287
- package/dist/index.js +3836 -3535
- package/dist/node/index.js +7 -7
- package/dist/preset.js +9 -9
- package/dist/vite-plugin/index.js +7 -7
- package/package.json +6 -6
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_vnx4soqotql from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_vnx4soqotql from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_vnx4soqotql from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_vnx4soqotql.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_vnx4soqotql.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_vnx4soqotql.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_vnx4soqotql from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_vnx4soqotql from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_vnx4soqotql from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_vnx4soqotql.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_vnx4soqotql.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_vnx4soqotql.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
__commonJS,
|
|
14
14
|
__name,
|
|
15
15
|
__require
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-MDGZW3NG.js";
|
|
17
17
|
|
|
18
18
|
// ../../node_modules/yaml/dist/nodes/identity.js
|
|
19
19
|
var require_identity = __commonJS({
|
|
@@ -1291,7 +1291,7 @@ ${indent}`) + "'";
|
|
|
1291
1291
|
}
|
|
1292
1292
|
function blockString({ comment, type, value }, ctx, onComment, onChompKeep) {
|
|
1293
1293
|
const { blockQuote, commentString, lineWidth } = ctx.options;
|
|
1294
|
-
if (!blockQuote || /\n[\t ]+$/.test(value)
|
|
1294
|
+
if (!blockQuote || /\n[\t ]+$/.test(value)) {
|
|
1295
1295
|
return quotedString(value, ctx);
|
|
1296
1296
|
}
|
|
1297
1297
|
const indent = ctx.indent || (ctx.forceBlockIndent || containsDocumentMarker(value) ? " " : "");
|