joyent-portal/packages/instance-steps/src/_aliases.js

10 lines
163 B
JavaScript
Raw Normal View History

2018-05-09 02:03:57 +03:00
const { SSR } = process.env;
const aliases = {};
if (SSR) {
aliases['^joyent-ui-toolkit/dist/es/editor$'] = './src/mocks/editor';
}
module.exports = aliases;