10 lines
163 B
JavaScript
10 lines
163 B
JavaScript
|
const { SSR } = process.env;
|
||
|
|
||
|
const aliases = {};
|
||
|
|
||
|
if (SSR) {
|
||
|
aliases['^joyent-ui-toolkit/dist/es/editor$'] = './src/mocks/editor';
|
||
|
}
|
||
|
|
||
|
module.exports = aliases;
|