keycloak-demo-frontend/config/alias.js

19 lines
899 B
JavaScript
Raw Normal View History

2021-09-06 10:00:03 +00:00
const path = require('path');
module.exports = {
'@Base': path.resolve(__dirname, '..', 'src', 'base'),
'@Components': path.resolve(__dirname, '..', 'src', 'components'),
'@Reducers': path.resolve(__dirname, '..', 'src', 'reducers'),
'@API': path.resolve(__dirname, '..', 'src', 'api'),
'@Tools': path.resolve(__dirname, '..', 'src', 'tools'),
'@Hooks': path.resolve(__dirname, '..', 'src', 'hooks'),
'@Models': path.resolve(__dirname, '..', 'src', 'models'),
'@CSS': path.resolve(__dirname, '..', 'src', 'css'),
'@Services': path.resolve(__dirname, '..', 'src', 'services'),
'@Providers': path.resolve(__dirname, '..', 'src', 'providers'),
'@Env': path.resolve(__dirname, '..', 'src', 'env'),
'@Langs': path.resolve(__dirname, '..', 'src', 'langs'),
'@Mocks': path.resolve(__dirname, '..', 'src', 'mocks'),
'@Plugin': path.resolve(__dirname, '..', 'src', 'plugin'),
};