joyent-portal/packages/my-joy-beta/src/_aliases.js

11 lines
229 B
JavaScript
Raw Normal View History

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;