@storybook/core-webpack 10.5.0-alpha.1 → 10.5.0-alpha.10
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.d.ts +4 -1
- package/dist/index.js +6 -6
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -15,7 +15,10 @@ interface WebpackConfiguration {
|
|
|
15
15
|
module?: ModuleConfig;
|
|
16
16
|
resolve?: ResolveConfig;
|
|
17
17
|
optimization?: any;
|
|
18
|
-
devtool?: false | string
|
|
18
|
+
devtool?: false | string | {
|
|
19
|
+
type: 'all' | 'javascript' | 'css';
|
|
20
|
+
use: any;
|
|
21
|
+
}[];
|
|
19
22
|
}
|
|
20
23
|
type BuilderOptions = {
|
|
21
24
|
fsCache?: boolean;
|
package/dist/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_s9b9cxqo6s from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_s9b9cxqo6s from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_s9b9cxqo6s from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_s9b9cxqo6s.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_s9b9cxqo6s.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_s9b9cxqo6s.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/core-webpack",
|
|
3
|
-
"version": "10.5.0-alpha.
|
|
3
|
+
"version": "10.5.0-alpha.10",
|
|
4
4
|
"description": "Storybook framework-agnostic API",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook"
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"webpack": "5"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
|
-
"storybook": "^10.5.0-alpha.
|
|
48
|
+
"storybook": "^10.5.0-alpha.10"
|
|
49
49
|
},
|
|
50
50
|
"publishConfig": {
|
|
51
51
|
"access": "public"
|