2022-08-07 22:46:13 +08:00

8 lines
188 B
TypeScript

import { viteMockServe } from 'vite-plugin-mock';
export default viteMockServe({
mockPath: 'mock',
watchFiles: true, // 监视文件更改
// localEnabled: command === 'serve',
});