From 03526a60e73037b5e96428dbf8ec082561acf732 Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Wed, 22 Jun 2022 23:59:21 +0200 Subject: [PATCH 1/8] let's try converting frameworks to use tsup as well, now that I'm here --- frameworks/html-webpack5/package.json | 32 +++++++++++++++++++++++---- frameworks/html-webpack5/preset.js | 2 +- yarn.lock | 1 + 3 files changed, 30 insertions(+), 5 deletions(-) diff --git a/frameworks/html-webpack5/package.json b/frameworks/html-webpack5/package.json index 86fe500dafa9..8a69452f1677 100644 --- a/frameworks/html-webpack5/package.json +++ b/frameworks/html-webpack5/package.json @@ -19,9 +19,26 @@ "url": "https://opencollective.com/storybook" }, "license": "MIT", - "main": "dist/cjs/index.js", - "module": "dist/esm/index.js", - "types": "dist/types/index.d.ts", + "exports": { + ".": { + "require": "./dist/index.js", + "import": "./dist/index.mjs", + "types": "./dist/index.d.ts" + }, + "./preset": { + "require": "./dist/preset.js", + "import": "./dist/preset.mjs", + "types": "./dist/preset.d.ts" + }, + "./package.json": { + "require": "./package.json", + "import": "./package.json", + "types": "./package.json" + } + }, + "main": "dist/index.js", + "module": "dist/index.mjs", + "types": "dist/index.d.ts", "files": [ "dist/**/*", "README.md", @@ -29,7 +46,7 @@ "*.d.ts" ], "scripts": { - "prepare": "node ../../scripts/prepare.js" + "prepare": "esrun ../../scripts/prepare/bundle.ts" }, "dependencies": { "@storybook/builder-webpack5": "7.0.0-alpha.5", @@ -42,6 +59,9 @@ "react": "16.14.0", "react-dom": "16.14.0" }, + "devDependencies": { + "@digitak/esrun": "^3.2.2" + }, "peerDependencies": { "@babel/core": "*" }, @@ -51,5 +71,9 @@ "publishConfig": { "access": "public" }, + "bundlerEntrypoint": [ + "./src/index.ts", + "./src/preset.ts" + ], "gitHead": "3dd46982823b34d9f37be917b6247631081feff7" } diff --git a/frameworks/html-webpack5/preset.js b/frameworks/html-webpack5/preset.js index e45ac5b4cec0..a83f95279e7f 100644 --- a/frameworks/html-webpack5/preset.js +++ b/frameworks/html-webpack5/preset.js @@ -1 +1 @@ -module.exports = require('./dist/cjs/preset'); +module.exports = require('./dist/preset'); diff --git a/yarn.lock b/yarn.lock index c204dd088226..53b5986c26f2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8418,6 +8418,7 @@ __metadata: version: 0.0.0-use.local resolution: "@storybook/html-webpack5@workspace:frameworks/html-webpack5" dependencies: + "@digitak/esrun": ^3.2.2 "@storybook/builder-webpack5": 7.0.0-alpha.5 "@storybook/core-common": 7.0.0-alpha.5 "@storybook/html": 7.0.0-alpha.5 From 4afdec95a85b88f7de7975b171f1552557cee1ec Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Thu, 23 Jun 2022 00:26:42 +0200 Subject: [PATCH 2/8] another one --- frameworks/preact-webpack5/package.json | 30 +++++++++++++++++++++---- frameworks/preact-webpack5/preset.js | 2 +- yarn.lock | 1 + 3 files changed, 28 insertions(+), 5 deletions(-) diff --git a/frameworks/preact-webpack5/package.json b/frameworks/preact-webpack5/package.json index 119952de0355..734abd83bb0e 100644 --- a/frameworks/preact-webpack5/package.json +++ b/frameworks/preact-webpack5/package.json @@ -19,9 +19,26 @@ "url": "https://opencollective.com/storybook" }, "license": "MIT", - "main": "dist/cjs/index.js", - "module": "dist/esm/index.js", - "types": "dist/types/index.d.ts", + "exports": { + ".": { + "require": "./dist/index.js", + "import": "./dist/index.mjs", + "types": "./dist/index.d.ts" + }, + "./preset": { + "require": "./dist/preset.js", + "import": "./dist/preset.mjs", + "types": "./dist/preset.d.ts" + }, + "./package.json": { + "require": "./package.json", + "import": "./package.json", + "types": "./package.json" + } + }, + "main": "dist/index.js", + "module": "dist/index.mjs", + "types": "dist/index.d.ts", "files": [ "dist/**/*", "README.md", @@ -29,7 +46,7 @@ "*.d.ts" ], "scripts": { - "prepare": "node ../../scripts/prepare.js" + "prepare": "esrun ../../scripts/prepare/bundle.ts" }, "dependencies": { "@storybook/builder-webpack5": "7.0.0-alpha.5", @@ -42,6 +59,7 @@ "react-dom": "16.14.0" }, "devDependencies": { + "@digitak/esrun": "^3.2.2", "preact": "^10.5.13" }, "peerDependencies": { @@ -54,5 +72,9 @@ "publishConfig": { "access": "public" }, + "bundlerEntrypoint": [ + "./src/index.ts", + "./src/preset.ts" + ], "gitHead": "3dd46982823b34d9f37be917b6247631081feff7" } diff --git a/frameworks/preact-webpack5/preset.js b/frameworks/preact-webpack5/preset.js index e45ac5b4cec0..a83f95279e7f 100644 --- a/frameworks/preact-webpack5/preset.js +++ b/frameworks/preact-webpack5/preset.js @@ -1 +1 @@ -module.exports = require('./dist/cjs/preset'); +module.exports = require('./dist/preset'); diff --git a/yarn.lock b/yarn.lock index 53b5986c26f2..239c6e209619 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8652,6 +8652,7 @@ __metadata: version: 0.0.0-use.local resolution: "@storybook/preact-webpack5@workspace:frameworks/preact-webpack5" dependencies: + "@digitak/esrun": ^3.2.2 "@storybook/builder-webpack5": 7.0.0-alpha.5 "@storybook/core-common": 7.0.0-alpha.5 "@storybook/preact": 7.0.0-alpha.5 From c17d93264e57b6683a489914eb4ca94583a8e585 Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Thu, 23 Jun 2022 00:29:15 +0200 Subject: [PATCH 3/8] another one --- frameworks/react-webpack5/package.json | 30 ++++++++++++++++++++++---- frameworks/react-webpack5/preset.js | 2 +- yarn.lock | 1 + 3 files changed, 28 insertions(+), 5 deletions(-) diff --git a/frameworks/react-webpack5/package.json b/frameworks/react-webpack5/package.json index 03fbeffd31c3..3fbb727311e0 100644 --- a/frameworks/react-webpack5/package.json +++ b/frameworks/react-webpack5/package.json @@ -19,9 +19,26 @@ "url": "https://opencollective.com/storybook" }, "license": "MIT", - "main": "dist/cjs/index.js", - "module": "dist/esm/index.js", - "types": "dist/types/index.d.ts", + "exports": { + ".": { + "require": "./dist/index.js", + "import": "./dist/index.mjs", + "types": "./dist/index.d.ts" + }, + "./preset": { + "require": "./dist/preset.js", + "import": "./dist/preset.mjs", + "types": "./dist/preset.d.ts" + }, + "./package.json": { + "require": "./package.json", + "import": "./package.json", + "types": "./package.json" + } + }, + "main": "dist/index.js", + "module": "dist/index.mjs", + "types": "dist/index.d.ts", "files": [ "dist/**/*", "types/**/*", @@ -30,7 +47,7 @@ "*.d.ts" ], "scripts": { - "prepare": "node ../../scripts/prepare.js" + "prepare": "esrun ../../scripts/prepare/bundle.ts" }, "dependencies": { "@storybook/builder-webpack5": "7.0.0-alpha.5", @@ -40,6 +57,7 @@ "core-js": "^3.8.2" }, "devDependencies": { + "@digitak/esrun": "^3.2.2", "jest-specific-snapshot": "^4.0.0" }, "peerDependencies": { @@ -61,5 +79,9 @@ "publishConfig": { "access": "public" }, + "bundlerEntrypoint": [ + "./src/index.ts", + "./src/preset.ts" + ], "gitHead": "3dd46982823b34d9f37be917b6247631081feff7" } diff --git a/frameworks/react-webpack5/preset.js b/frameworks/react-webpack5/preset.js index e45ac5b4cec0..a83f95279e7f 100644 --- a/frameworks/react-webpack5/preset.js +++ b/frameworks/react-webpack5/preset.js @@ -1 +1 @@ -module.exports = require('./dist/cjs/preset'); +module.exports = require('./dist/preset'); diff --git a/yarn.lock b/yarn.lock index 239c6e209619..d4cba2a92926 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8941,6 +8941,7 @@ __metadata: version: 0.0.0-use.local resolution: "@storybook/react-webpack5@workspace:frameworks/react-webpack5" dependencies: + "@digitak/esrun": ^3.2.2 "@storybook/builder-webpack5": 7.0.0-alpha.5 "@storybook/preset-react-webpack": 7.0.0-alpha.5 "@storybook/react": 7.0.0-alpha.5 From 50e198f1c43bf78b1f98e2c55b4cd49c9b7894ae Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Thu, 23 Jun 2022 00:40:07 +0200 Subject: [PATCH 4/8] another one --- frameworks/server-webpack5/package.json | 32 +++++++++++++++++++++---- frameworks/server-webpack5/preset.js | 2 +- yarn.lock | 1 + 3 files changed, 30 insertions(+), 5 deletions(-) diff --git a/frameworks/server-webpack5/package.json b/frameworks/server-webpack5/package.json index 4b3bb16dacfa..412e07be570f 100644 --- a/frameworks/server-webpack5/package.json +++ b/frameworks/server-webpack5/package.json @@ -19,9 +19,26 @@ "url": "https://opencollective.com/storybook" }, "license": "MIT", - "main": "dist/cjs/index.js", - "module": "dist/esm/index.js", - "types": "dist/types/index.d.ts", + "exports": { + ".": { + "require": "./dist/index.js", + "import": "./dist/index.mjs", + "types": "./dist/index.d.ts" + }, + "./preset": { + "require": "./dist/preset.js", + "import": "./dist/preset.mjs", + "types": "./dist/preset.d.ts" + }, + "./package.json": { + "require": "./package.json", + "import": "./package.json", + "types": "./package.json" + } + }, + "main": "dist/index.js", + "module": "dist/index.mjs", + "types": "dist/index.d.ts", "files": [ "dist/**/*", "README.md", @@ -29,7 +46,7 @@ "*.d.ts" ], "scripts": { - "prepare": "node ../../scripts/prepare.js" + "prepare": "esrun ../../scripts/prepare/bundle.ts" }, "dependencies": { "@storybook/builder-webpack5": "7.0.0-alpha.5", @@ -41,11 +58,18 @@ "react": "16.14.0", "react-dom": "16.14.0" }, + "devDependencies": { + "@digitak/esrun": "^3.2.2" + }, "engines": { "node": ">=10.13.0" }, "publishConfig": { "access": "public" }, + "bundlerEntrypoint": [ + "./src/index.ts", + "./src/preset.ts" + ], "gitHead": "3dd46982823b34d9f37be917b6247631081feff7" } diff --git a/frameworks/server-webpack5/preset.js b/frameworks/server-webpack5/preset.js index e45ac5b4cec0..a83f95279e7f 100644 --- a/frameworks/server-webpack5/preset.js +++ b/frameworks/server-webpack5/preset.js @@ -1 +1 @@ -module.exports = require('./dist/cjs/preset'); +module.exports = require('./dist/preset'); diff --git a/yarn.lock b/yarn.lock index d4cba2a92926..f8f96b027d27 100644 --- a/yarn.lock +++ b/yarn.lock @@ -9338,6 +9338,7 @@ __metadata: version: 0.0.0-use.local resolution: "@storybook/server-webpack5@workspace:frameworks/server-webpack5" dependencies: + "@digitak/esrun": ^3.2.2 "@storybook/builder-webpack5": 7.0.0-alpha.5 "@storybook/core-common": 7.0.0-alpha.5 "@storybook/preset-server-webpack": 7.0.0-alpha.5 From c00ec562860035750022707a9d5dd54d75063772 Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Thu, 23 Jun 2022 00:42:32 +0200 Subject: [PATCH 5/8] another one --- frameworks/svelte-webpack5/package.json | 30 +++++++++++++++++++++---- frameworks/svelte-webpack5/preset.js | 2 +- yarn.lock | 1 + 3 files changed, 28 insertions(+), 5 deletions(-) diff --git a/frameworks/svelte-webpack5/package.json b/frameworks/svelte-webpack5/package.json index de27ba3118a0..389065dbd649 100644 --- a/frameworks/svelte-webpack5/package.json +++ b/frameworks/svelte-webpack5/package.json @@ -19,9 +19,26 @@ "url": "https://opencollective.com/storybook" }, "license": "MIT", - "main": "dist/cjs/index.js", - "module": "dist/esm/index.js", - "types": "dist/types/index.d.ts", + "exports": { + ".": { + "require": "./dist/index.js", + "import": "./dist/index.mjs", + "types": "./dist/index.d.ts" + }, + "./preset": { + "require": "./dist/preset.js", + "import": "./dist/preset.mjs", + "types": "./dist/preset.d.ts" + }, + "./package.json": { + "require": "./package.json", + "import": "./package.json", + "types": "./package.json" + } + }, + "main": "dist/index.js", + "module": "dist/index.mjs", + "types": "dist/index.d.ts", "files": [ "dist/**/*", "templates/**/*", @@ -30,7 +47,7 @@ "*.d.ts" ], "scripts": { - "prepare": "node ../../scripts/prepare.js" + "prepare": "esrun ../../scripts/prepare/bundle.ts" }, "dependencies": { "@storybook/builder-webpack5": "7.0.0-alpha.5", @@ -42,6 +59,7 @@ "react-dom": "16.14.0" }, "devDependencies": { + "@digitak/esrun": "^3.2.2", "svelte": "^3.48.0", "svelte-loader": "^3.1.2" }, @@ -56,5 +74,9 @@ "publishConfig": { "access": "public" }, + "bundlerEntrypoint": [ + "./src/index.ts", + "./src/preset.ts" + ], "gitHead": "3dd46982823b34d9f37be917b6247631081feff7" } diff --git a/frameworks/svelte-webpack5/preset.js b/frameworks/svelte-webpack5/preset.js index e45ac5b4cec0..a83f95279e7f 100644 --- a/frameworks/svelte-webpack5/preset.js +++ b/frameworks/svelte-webpack5/preset.js @@ -1 +1 @@ -module.exports = require('./dist/cjs/preset'); +module.exports = require('./dist/preset'); diff --git a/yarn.lock b/yarn.lock index f8f96b027d27..545b5cce6cf8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -9414,6 +9414,7 @@ __metadata: version: 0.0.0-use.local resolution: "@storybook/svelte-webpack5@workspace:frameworks/svelte-webpack5" dependencies: + "@digitak/esrun": ^3.2.2 "@storybook/builder-webpack5": 7.0.0-alpha.5 "@storybook/core-common": 7.0.0-alpha.5 "@storybook/preset-svelte-webpack": 7.0.0-alpha.5 From 3adab17414f4a3fb6eb4d874ed1e10973e8848d9 Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Thu, 23 Jun 2022 00:44:07 +0200 Subject: [PATCH 6/8] another one --- frameworks/vue-webpack5/package.json | 30 ++++++++++++++++++++++++---- frameworks/vue-webpack5/preset.js | 2 +- yarn.lock | 1 + 3 files changed, 28 insertions(+), 5 deletions(-) diff --git a/frameworks/vue-webpack5/package.json b/frameworks/vue-webpack5/package.json index 717bdc3909c1..aef1499143ea 100644 --- a/frameworks/vue-webpack5/package.json +++ b/frameworks/vue-webpack5/package.json @@ -19,9 +19,26 @@ "url": "https://opencollective.com/storybook" }, "license": "MIT", - "main": "dist/cjs/index.js", - "module": "dist/esm/index.js", - "types": "dist/types/index.d.ts", + "exports": { + ".": { + "require": "./dist/index.js", + "import": "./dist/index.mjs", + "types": "./dist/index.d.ts" + }, + "./preset": { + "require": "./dist/preset.js", + "import": "./dist/preset.mjs", + "types": "./dist/preset.d.ts" + }, + "./package.json": { + "require": "./package.json", + "import": "./package.json", + "types": "./package.json" + } + }, + "main": "dist/index.js", + "module": "dist/index.mjs", + "types": "dist/index.d.ts", "files": [ "dist/**/*", "README.md", @@ -29,7 +46,7 @@ "*.d.ts" ], "scripts": { - "prepare": "node ../../scripts/prepare.js" + "prepare": "esrun ../../scripts/prepare/bundle.ts" }, "dependencies": { "@storybook/builder-webpack5": "7.0.0-alpha.5", @@ -42,6 +59,7 @@ "react-dom": "16.14.0" }, "devDependencies": { + "@digitak/esrun": "^3.2.2", "vue": "^2.6.12", "vue-loader": "^15.7.0", "vue-template-compiler": "^2.6.14" @@ -60,5 +78,9 @@ "publishConfig": { "access": "public" }, + "bundlerEntrypoint": [ + "./src/index.ts", + "./src/preset.ts" + ], "gitHead": "3dd46982823b34d9f37be917b6247631081feff7" } diff --git a/frameworks/vue-webpack5/preset.js b/frameworks/vue-webpack5/preset.js index e45ac5b4cec0..a83f95279e7f 100644 --- a/frameworks/vue-webpack5/preset.js +++ b/frameworks/vue-webpack5/preset.js @@ -1 +1 @@ -module.exports = require('./dist/cjs/preset'); +module.exports = require('./dist/preset'); diff --git a/yarn.lock b/yarn.lock index 545b5cce6cf8..1dc55878e56a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -9615,6 +9615,7 @@ __metadata: version: 0.0.0-use.local resolution: "@storybook/vue-webpack5@workspace:frameworks/vue-webpack5" dependencies: + "@digitak/esrun": ^3.2.2 "@storybook/builder-webpack5": 7.0.0-alpha.5 "@storybook/core-common": 7.0.0-alpha.5 "@storybook/preset-vue-webpack": 7.0.0-alpha.5 From 242fd701d42ba0348e4be104afee7c7bd1c330fa Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Thu, 23 Jun 2022 00:45:23 +0200 Subject: [PATCH 7/8] another one --- frameworks/vue3-webpack5/package.json | 30 +++++++++++++++++++++++---- frameworks/vue3-webpack5/preset.js | 2 +- yarn.lock | 1 + 3 files changed, 28 insertions(+), 5 deletions(-) diff --git a/frameworks/vue3-webpack5/package.json b/frameworks/vue3-webpack5/package.json index 7ede6959108c..1660bd9017c6 100644 --- a/frameworks/vue3-webpack5/package.json +++ b/frameworks/vue3-webpack5/package.json @@ -19,9 +19,26 @@ "url": "https://opencollective.com/storybook" }, "license": "MIT", - "main": "dist/cjs/index.js", - "module": "dist/esm/index.js", - "types": "dist/types/index.d.ts", + "exports": { + ".": { + "require": "./dist/index.js", + "import": "./dist/index.mjs", + "types": "./dist/index.d.ts" + }, + "./preset": { + "require": "./dist/preset.js", + "import": "./dist/preset.mjs", + "types": "./dist/preset.d.ts" + }, + "./package.json": { + "require": "./package.json", + "import": "./package.json", + "types": "./package.json" + } + }, + "main": "dist/index.js", + "module": "dist/index.mjs", + "types": "dist/index.d.ts", "files": [ "dist/**/*", "README.md", @@ -29,7 +46,7 @@ "*.d.ts" ], "scripts": { - "prepare": "node ../../scripts/prepare.js" + "prepare": "esrun ../../scripts/prepare/bundle.ts" }, "dependencies": { "@storybook/builder-webpack5": "7.0.0-alpha.5", @@ -42,6 +59,7 @@ "react-dom": "16.14.0" }, "devDependencies": { + "@digitak/esrun": "^3.2.2", "@vue/compiler-sfc": "3.0.0", "vue": "3.0.0" }, @@ -57,5 +75,9 @@ "publishConfig": { "access": "public" }, + "bundlerEntrypoint": [ + "./src/index.ts", + "./src/preset.ts" + ], "gitHead": "3dd46982823b34d9f37be917b6247631081feff7" } diff --git a/frameworks/vue3-webpack5/preset.js b/frameworks/vue3-webpack5/preset.js index e45ac5b4cec0..a83f95279e7f 100644 --- a/frameworks/vue3-webpack5/preset.js +++ b/frameworks/vue3-webpack5/preset.js @@ -1 +1 @@ -module.exports = require('./dist/cjs/preset'); +module.exports = require('./dist/preset'); diff --git a/yarn.lock b/yarn.lock index 1dc55878e56a..45f91f4b7aca 100644 --- a/yarn.lock +++ b/yarn.lock @@ -9641,6 +9641,7 @@ __metadata: version: 0.0.0-use.local resolution: "@storybook/vue3-webpack5@workspace:frameworks/vue3-webpack5" dependencies: + "@digitak/esrun": ^3.2.2 "@storybook/builder-webpack5": 7.0.0-alpha.5 "@storybook/core-common": 7.0.0-alpha.5 "@storybook/preset-vue3-webpack": 7.0.0-alpha.5 From fb09837f2ee7b5096617bd7b8e8864b2aee90397 Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Thu, 23 Jun 2022 00:47:07 +0200 Subject: [PATCH 8/8] another one --- .../web-components-webpack5/package.json | 30 ++++++++++++++++--- frameworks/web-components-webpack5/preset.js | 2 +- yarn.lock | 1 + 3 files changed, 28 insertions(+), 5 deletions(-) diff --git a/frameworks/web-components-webpack5/package.json b/frameworks/web-components-webpack5/package.json index 2b5aa9684177..c49d6358f008 100644 --- a/frameworks/web-components-webpack5/package.json +++ b/frameworks/web-components-webpack5/package.json @@ -21,9 +21,26 @@ "url": "https://opencollective.com/storybook" }, "license": "MIT", - "main": "dist/cjs/index.js", - "module": "dist/esm/index.js", - "types": "dist/types/index.d.ts", + "exports": { + ".": { + "require": "./dist/index.js", + "import": "./dist/index.mjs", + "types": "./dist/index.d.ts" + }, + "./preset": { + "require": "./dist/preset.js", + "import": "./dist/preset.mjs", + "types": "./dist/preset.d.ts" + }, + "./package.json": { + "require": "./package.json", + "import": "./package.json", + "types": "./package.json" + } + }, + "main": "dist/index.js", + "module": "dist/index.mjs", + "types": "dist/index.d.ts", "files": [ "dist/**/*", "README.md", @@ -31,7 +48,7 @@ "*.d.ts" ], "scripts": { - "prepare": "node ../../scripts/prepare.js" + "prepare": "esrun ../../scripts/prepare/bundle.ts" }, "dependencies": { "@babel/preset-env": "^7.12.11", @@ -45,6 +62,7 @@ "react-dom": "16.14.0" }, "devDependencies": { + "@digitak/esrun": "^3.2.2", "lit-html": "2.0.2" }, "peerDependencies": { @@ -56,5 +74,9 @@ "publishConfig": { "access": "public" }, + "bundlerEntrypoint": [ + "./src/index.ts", + "./src/preset.ts" + ], "gitHead": "3dd46982823b34d9f37be917b6247631081feff7" } diff --git a/frameworks/web-components-webpack5/preset.js b/frameworks/web-components-webpack5/preset.js index e45ac5b4cec0..a83f95279e7f 100644 --- a/frameworks/web-components-webpack5/preset.js +++ b/frameworks/web-components-webpack5/preset.js @@ -1 +1 @@ -module.exports = require('./dist/cjs/preset'); +module.exports = require('./dist/preset'); diff --git a/yarn.lock b/yarn.lock index 45f91f4b7aca..19d9e16bc2d0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -9713,6 +9713,7 @@ __metadata: resolution: "@storybook/web-components-webpack5@workspace:frameworks/web-components-webpack5" dependencies: "@babel/preset-env": ^7.12.11 + "@digitak/esrun": ^3.2.2 "@storybook/builder-webpack5": 7.0.0-alpha.5 "@storybook/core-common": 7.0.0-alpha.5 "@storybook/preset-web-components-webpack": 7.0.0-alpha.5