mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-05 16:11:33 +08:00
24 lines
487 B
Plaintext
24 lines
487 B
Plaintext
```jsonc
|
|
// package.json
|
|
{
|
|
"imports": {
|
|
"#api": {
|
|
"storybook": "./api.mock.ts",
|
|
"default": "./api.ts"
|
|
},
|
|
"#app/actions": {
|
|
"storybook": "./app/actions.mock.ts",
|
|
"default": "./app/actions.ts"
|
|
},
|
|
"#lib/session": {
|
|
"storybook": "./lib/session.mock.ts",
|
|
"default": "./lib/session.ts"
|
|
},
|
|
"#lib/db": {
|
|
"storybook": "./lib/db.mock.ts",
|
|
"default": "./lib/db.ts"
|
|
},
|
|
"#*": ["./*", "./*.ts", "./*.tsx"]
|
|
}
|
|
}
|
|
``` |