@storybook/builder-vite 10.3.0-alpha.10 → 10.3.0-alpha.12
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.
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_rc31a059o0c from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_rc31a059o0c from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_rc31a059o0c from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_rc31a059o0c.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_rc31a059o0c.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_rc31a059o0c.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
package/dist/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_rc31a059o0c from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_rc31a059o0c from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_rc31a059o0c from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_rc31a059o0c.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_rc31a059o0c.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_rc31a059o0c.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
normalize,
|
|
25
25
|
relative,
|
|
26
26
|
viteCorePlugins
|
|
27
|
-
} from "./_node-chunks/chunk-
|
|
27
|
+
} from "./_node-chunks/chunk-OYO45E3K.js";
|
|
28
28
|
|
|
29
29
|
// ../../../node_modules/picocolors/picocolors.js
|
|
30
30
|
var require_picocolors = __commonJS({
|
|
@@ -1458,8 +1458,7 @@ async function build(options) {
|
|
|
1458
1458
|
finalConfig.plugins?.push({
|
|
1459
1459
|
name: "storybook:enforce-output-dir",
|
|
1460
1460
|
enforce: "post",
|
|
1461
|
-
config: (
|
|
1462
|
-
...config2,
|
|
1461
|
+
config: () => ({
|
|
1463
1462
|
build: {
|
|
1464
1463
|
outDir: options.outputDir
|
|
1465
1464
|
}
|
package/dist/preset.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_rc31a059o0c from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_rc31a059o0c from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_rc31a059o0c from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_rc31a059o0c.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_rc31a059o0c.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_rc31a059o0c.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -12,7 +12,7 @@ var require = CJS_COMPAT_NODE_MODULE_undhjn4yhve.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
optimizeViteDeps,
|
|
14
14
|
viteCorePlugins
|
|
15
|
-
} from "./_node-chunks/chunk-
|
|
15
|
+
} from "./_node-chunks/chunk-OYO45E3K.js";
|
|
16
16
|
export {
|
|
17
17
|
optimizeViteDeps,
|
|
18
18
|
viteCorePlugins
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/builder-vite",
|
|
3
|
-
"version": "10.3.0-alpha.
|
|
3
|
+
"version": "10.3.0-alpha.12",
|
|
4
4
|
"description": "A Storybook builder to dev and build with Vite",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"!src/**/*"
|
|
48
48
|
],
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@storybook/csf-plugin": "10.3.0-alpha.
|
|
50
|
+
"@storybook/csf-plugin": "10.3.0-alpha.12",
|
|
51
51
|
"ts-dedent": "^2.0.0"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"vite": "^7.0.4"
|
|
63
63
|
},
|
|
64
64
|
"peerDependencies": {
|
|
65
|
-
"storybook": "^10.3.0-alpha.
|
|
65
|
+
"storybook": "^10.3.0-alpha.12",
|
|
66
66
|
"vite": "^5.0.0 || ^6.0.0 || ^7.0.0"
|
|
67
67
|
},
|
|
68
68
|
"publishConfig": {
|