mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-05 08:01:20 +08:00
Addon-docs: Allow doc blocks to CJS imported
This commit is contained in:
parent
2821382a85
commit
ff25b71b1a
@ -24,9 +24,9 @@
|
||||
"url": "https://opencollective.com/storybook"
|
||||
},
|
||||
"license": "MIT",
|
||||
"main": "dist/cjs/public_api.js",
|
||||
"module": "dist/esm/public_api.js",
|
||||
"types": "dist/ts3.9/public_api.d.ts",
|
||||
"main": "dist/cjs/index.js",
|
||||
"module": "dist/esm/index.js",
|
||||
"types": "dist/ts3.9/index.d.ts",
|
||||
"typesVersions": {
|
||||
"<3.8": {
|
||||
"*": [
|
||||
|
1
addons/docs/src/index.ts
Normal file
1
addons/docs/src/index.ts
Normal file
@ -0,0 +1 @@
|
||||
export * from './blocks';
|
@ -1,2 +0,0 @@
|
||||
// make it work with --isolatedModules
|
||||
export default {};
|
Loading…
x
Reference in New Issue
Block a user