1
0
mirror of https://github.com/chillzhuang/Sword synced 2024-11-23 18:59:27 +08:00
Sword/scripts/generateMock.js
2020-02-12 01:02:23 +08:00

4 lines
182 B
JavaScript

const generateMock = require('merge-umi-mock-data');
const path = require('path');
generateMock(path.join(__dirname, '../mock'), path.join(__dirname, '../functions/mock/index.js'));