Coffee-crocodile 4568d807b3 chore: remove deps
remove `vite-plugin-vue-setup-extend`
2023-06-25 11:48:42 +08:00

11 lines
288 B
TypeScript

import { viteMockServe } from 'vite-plugin-mock' // https://github.com/vbenjs/vite-plugin-mock/blob/main/README.zh_CN.md
export default viteMockServe({
mockPath: 'mock',
prodEnabled: true,
injectCode: `
import { setupMockServer } from '../mock';
setupMockServer();
`,
})