1
0
mirror of https://github.com/chillzhuang/Sword synced 2024-11-24 11:19:26 +08:00
Sword/scripts/generateMock.js

4 lines
182 B
JavaScript
Raw Normal View History

2019-02-13 17:16:39 +08:00
const generateMock = require('merge-umi-mock-data');
const path = require('path');
generateMock(path.join(__dirname, '../mock'), path.join(__dirname, '../functions/mock/index.js'));