joyent-portal/packages/my-joy-beta/src/_aliases.js
2018-02-26 17:52:43 +00:00

11 lines
229 B
JavaScript

const { SSR } = process.env;
const aliases = {};
if (SSR) {
aliases['scroll-to-element'] = './src/mocks/scroll-to-element';
aliases['^joyent-ui-toolkit/dist/es/editor$'] = './src/mocks/editor';
}
module.exports = aliases;