mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-08 11:11:53 +08:00
16 lines
353 B
Plaintext
16 lines
353 B
Plaintext
```ts
|
|
// example-addon/src/preset.ts
|
|
|
|
import { webpackFinal as webpack } from './webpack/webpackFinal';
|
|
|
|
import { viteFinal as vite } from './vite/viteFinal';
|
|
|
|
import { babelDefault as babel } from './babel/babelDefault';
|
|
|
|
export const webpackFinal = webpack as any;
|
|
|
|
export const viteFinal = vite as any;
|
|
|
|
export const babelDefault = babel as any;
|
|
```
|