6 lines
135 B
JavaScript
6 lines
135 B
JavaScript
|
import { createMockServer } from './index';
|
||
|
|
||
|
if (process.env.NODE_ENV === 'development') {
|
||
|
window.mockServer = createMockServer();
|
||
|
}
|