|
| 1 | +import { defineConfig } from "export-size-svg"; |
| 2 | + |
| 3 | +export default defineConfig({ |
| 4 | + title: "@embra/reactivity", |
| 5 | + out: "./docs/assets", |
| 6 | + exports: [ |
| 7 | + { |
| 8 | + title: "*", |
| 9 | + code: "export * from './src/index.ts'", |
| 10 | + }, |
| 11 | + { |
| 12 | + title: "{ readable, writable } (core)", |
| 13 | + code: "export { readable, writable } from './src/index.ts'", |
| 14 | + }, |
| 15 | + { |
| 16 | + title: "{ watch }", |
| 17 | + code: "export { watch } from './src/watch.ts'", |
| 18 | + externals: ["./batch", "./utils"], |
| 19 | + }, |
| 20 | + { |
| 21 | + title: "{ compute }", |
| 22 | + code: "export { compute } from './src/compute.ts'", |
| 23 | + externals: ["./readable", "./utils"], |
| 24 | + }, |
| 25 | + { |
| 26 | + title: "{ combine }", |
| 27 | + code: "export { combine } from './src/combine.ts'", |
| 28 | + externals: ["./compute"], |
| 29 | + }, |
| 30 | + { |
| 31 | + title: "{ derive }", |
| 32 | + code: "export { derive } from './src/derive.ts'", |
| 33 | + externals: ["./compute"], |
| 34 | + }, |
| 35 | + { |
| 36 | + title: "{ reactiveMap }", |
| 37 | + code: "export { reactiveMap } from './src/collections/reactiveMap.ts'", |
| 38 | + externals: ["../batch", "../readable", "../utils"], |
| 39 | + }, |
| 40 | + { |
| 41 | + title: "{ reactiveSet }", |
| 42 | + code: "export { reactiveSet } from './src/collections/reactiveSet.ts'", |
| 43 | + externals: ["../batch", "../readable", "../utils"], |
| 44 | + }, |
| 45 | + ], |
| 46 | +}); |
0 commit comments