@storybook/builder-webpack5 10.0.0 → 10.0.1
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-ZCIHESPC.js → chunk-EI6X2LNE.js} +6 -6
- package/dist/_node-chunks/{chunk-EH7J2B3V.js → chunk-ZZ6T6XCM.js} +7 -7
- package/dist/index.js +8 -8
- package/dist/loaders/export-order-loader.js +7 -7
- package/dist/presets/custom-webpack-preset.js +7 -7
- package/dist/presets/preview-preset.js +8 -8
- package/package.json +3 -3
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_p8l2gvbg5s from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_p8l2gvbg5s from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_p8l2gvbg5s from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_p8l2gvbg5s.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_p8l2gvbg5s.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_p8l2gvbg5s.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_p8l2gvbg5s from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_p8l2gvbg5s from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_p8l2gvbg5s from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_p8l2gvbg5s.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_p8l2gvbg5s.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_p8l2gvbg5s.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
12
|
import {
|
|
13
13
|
__name
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-EI6X2LNE.js";
|
|
15
15
|
|
|
16
16
|
// src/preview/virtual-module-mapping.ts
|
|
17
17
|
import { join, resolve } from "node:path";
|
package/dist/index.js
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_p8l2gvbg5s from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_p8l2gvbg5s from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_p8l2gvbg5s from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_p8l2gvbg5s.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_p8l2gvbg5s.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_p8l2gvbg5s.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
12
|
import {
|
|
13
13
|
getVirtualModules
|
|
14
|
-
} from "./_node-chunks/chunk-
|
|
14
|
+
} from "./_node-chunks/chunk-ZZ6T6XCM.js";
|
|
15
15
|
import {
|
|
16
16
|
__commonJS,
|
|
17
17
|
__name,
|
|
18
18
|
__require,
|
|
19
19
|
__toESM
|
|
20
|
-
} from "./_node-chunks/chunk-
|
|
20
|
+
} from "./_node-chunks/chunk-EI6X2LNE.js";
|
|
21
21
|
|
|
22
22
|
// ../../node_modules/pretty-hrtime/index.js
|
|
23
23
|
var require_pretty_hrtime = __commonJS({
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_p8l2gvbg5s from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_p8l2gvbg5s from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_p8l2gvbg5s from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_p8l2gvbg5s.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_p8l2gvbg5s.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_p8l2gvbg5s.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
12
|
import {
|
|
13
13
|
__name
|
|
14
|
-
} from "../_node-chunks/chunk-
|
|
14
|
+
} from "../_node-chunks/chunk-EI6X2LNE.js";
|
|
15
15
|
|
|
16
16
|
// src/loaders/export-order-loader.ts
|
|
17
17
|
import assert from "node:assert";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_p8l2gvbg5s from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_p8l2gvbg5s from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_p8l2gvbg5s from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_p8l2gvbg5s.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_p8l2gvbg5s.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_p8l2gvbg5s.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
12
|
import {
|
|
13
13
|
__name
|
|
14
|
-
} from "../_node-chunks/chunk-
|
|
14
|
+
} from "../_node-chunks/chunk-EI6X2LNE.js";
|
|
15
15
|
|
|
16
16
|
// src/presets/custom-webpack-preset.ts
|
|
17
17
|
import { logger as logger2 } from "storybook/internal/node-logger";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_p8l2gvbg5s from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_p8l2gvbg5s from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_p8l2gvbg5s from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_p8l2gvbg5s.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_p8l2gvbg5s.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_p8l2gvbg5s.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
12
|
import {
|
|
13
13
|
getVirtualModules
|
|
14
|
-
} from "../_node-chunks/chunk-
|
|
14
|
+
} from "../_node-chunks/chunk-ZZ6T6XCM.js";
|
|
15
15
|
import {
|
|
16
16
|
__name
|
|
17
|
-
} from "../_node-chunks/chunk-
|
|
17
|
+
} from "../_node-chunks/chunk-EI6X2LNE.js";
|
|
18
18
|
|
|
19
19
|
// src/presets/preview-preset.ts
|
|
20
20
|
import { fileURLToPath as fileURLToPath2 } from "node:url";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/builder-webpack5",
|
|
3
|
-
"version": "10.0.
|
|
3
|
+
"version": "10.0.1",
|
|
4
4
|
"description": "A Storybook builder to dev and build with Webpack",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"prep": "jiti ../../../scripts/build/build-package.ts"
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
|
-
"@storybook/core-webpack": "10.0.
|
|
56
|
+
"@storybook/core-webpack": "10.0.1",
|
|
57
57
|
"case-sensitive-paths-webpack-plugin": "^2.4.0",
|
|
58
58
|
"cjs-module-lexer": "^1.2.3",
|
|
59
59
|
"css-loader": "^7.1.2",
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
"typescript": "^5.8.3"
|
|
80
80
|
},
|
|
81
81
|
"peerDependencies": {
|
|
82
|
-
"storybook": "^10.0.
|
|
82
|
+
"storybook": "^10.0.1"
|
|
83
83
|
},
|
|
84
84
|
"peerDependenciesMeta": {
|
|
85
85
|
"typescript": {
|