()
| 12 | import LazyDecoratorPlugin from "./isomorphic/lazy-decorator"; |
| 13 | |
| 14 | export async function createDevPlugins() { |
| 15 | const { config } = useContext("dev"); |
| 16 | return [ |
| 17 | InspectPlugin(), |
| 18 | MarkdownPlugin(), |
| 19 | UnoCSSPlugin(<{}>{ |
| 20 | inspector: true, |
| 21 | mode: "global", |
| 22 | ...config.defaultModulesConfig.unocss, |
| 23 | }), |
| 24 | SvgResolverPlugin(), |
| 25 | ImagePlugin( |
| 26 | config.defaultModulesConfig.image.presets, |
| 27 | config.defaultModulesConfig.image.options |
| 28 | ), |
| 29 | LazyDecoratorPlugin(), |
| 30 | DecoratorPlugin(), |
| 31 | HmrPlugin(), |
| 32 | AutoImport(AutoImportPluginOptions(config.vite.root)), |
| 33 | // PrefreshPlugin(), |
| 34 | ]; |
| 35 | } |
no test coverage detected