diff --git a/code/deprecated/docs-tools/package.json b/code/deprecated/docs-tools/package.json index ba08a4da8fae..289105b22848 100644 --- a/code/deprecated/docs-tools/package.json +++ b/code/deprecated/docs-tools/package.json @@ -23,11 +23,13 @@ "exports": { ".": { "types": "./shim.d.ts", + "import": "./shim.mjs", "require": "./shim.js" }, "./package.json": "./package.json" }, "main": "./shim.js", + "module": "./shim.mjs", "types": "./shim.d.ts", "files": [ "README.md", diff --git a/code/deprecated/docs-tools/shim.mjs b/code/deprecated/docs-tools/shim.mjs new file mode 100644 index 000000000000..a6a642d3273f --- /dev/null +++ b/code/deprecated/docs-tools/shim.mjs @@ -0,0 +1 @@ +export * from 'storybook/internal/docs-tools'; diff --git a/code/deprecated/node-logger/package.json b/code/deprecated/node-logger/package.json index 2258fe6b581b..1daca1180932 100644 --- a/code/deprecated/node-logger/package.json +++ b/code/deprecated/node-logger/package.json @@ -23,11 +23,13 @@ "exports": { ".": { "types": "./shim.d.ts", + "module": "./shim.mjs", "require": "./shim.js" }, "./package.json": "./package.json" }, "main": "./shim.js", + "module": "./shim.mjs", "types": "./shim.d.ts", "files": [ "README.md", diff --git a/code/deprecated/node-logger/shim.mjs b/code/deprecated/node-logger/shim.mjs new file mode 100644 index 000000000000..1c35c8624ddf --- /dev/null +++ b/code/deprecated/node-logger/shim.mjs @@ -0,0 +1 @@ +export * from 'storybook/internal/node-logger';