joyent-portal/packages/my-joy-images/src/_aliases.js
2018-02-28 11:18:40 +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;