diff --git a/packages/__examples__/package.json b/packages/__examples__/package.json index 710112723e..19b80bbc8f 100644 --- a/packages/__examples__/package.json +++ b/packages/__examples__/package.json @@ -50,6 +50,9 @@ "react-docgen": "6.0.0-alpha.3", "webpack": "^5.89.0" }, + "//dependency-comments": { + "globby": "since 12.0.0 globby is pure ESM, it cannot be require()'d" + }, "resolutions": { "@storybook/react/webpack": "^5" } diff --git a/packages/babel-plugin-transform-imports/package.json b/packages/babel-plugin-transform-imports/package.json index ff60042a4e..9c994d4a86 100644 --- a/packages/babel-plugin-transform-imports/package.json +++ b/packages/babel-plugin-transform-imports/package.json @@ -18,6 +18,9 @@ "dependencies": { "globby": "^11.1.0" }, + "//dependency-comments": { + "globby": "since 12.0.0 globby is pure ESM, it cannot be require()'d" + }, "publishConfig": { "access": "public" } diff --git a/packages/ui-karma-config/package.json b/packages/ui-karma-config/package.json index f5e548f423..47f3c279c8 100644 --- a/packages/ui-karma-config/package.json +++ b/packages/ui-karma-config/package.json @@ -33,6 +33,9 @@ "karma-webpack": "^5.0.0", "process": "^0.11.10" }, + "//dependency-comments": { + "globby": "since 12.0.0 globby is pure ESM, it cannot be require()'d" + }, "peerDependencies": { "mocha": "^10", "webpack": "^5"