joyent-portal/packages/instance-steps/src/_aliases.js
2018-05-09 00:03:57 +01:00

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;