diff --git a/code/deprecated/docs-tools/package.json b/code/deprecated/docs-tools/package.json index 3caac5c95d0e..99cbcfd042b2 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 b69fbc511820..86eddc097c20 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';