primevue-mirror/vite.config.js

86 lines
8.2 KiB
JavaScript
Raw Normal View History

2023-03-31 23:25:56 +00:00
import path from 'path';
export default {
resolve: {
alias: {
'primevue/base': path.resolve(__dirname, './components/lib/base/Base.js'),
2023-06-21 13:48:00 +00:00
'primevue/basedirective': path.resolve(__dirname, './components/lib/basedirective/BaseDirective.js'),
2023-03-31 23:25:56 +00:00
'primevue/ripple': path.resolve(__dirname, './components/lib/ripple/Ripple.js'),
'primevue/tooltip': path.resolve(__dirname, './components/lib/tooltip/Tooltip.js'),
'primevue/focustrap': path.resolve(__dirname, './components/lib/focustrap/FocusTrap.js'),
'primevue/useconfirm': path.resolve(__dirname, './components/lib/useconfirm/UseConfirm.js'),
'primevue/usetoast': path.resolve(__dirname, './components/lib/usetoast/UseToast.js'),
'primevue/usedialog': path.resolve(__dirname, './components/lib/usedialog/UseDialog.js'),
'primevue/utils': path.resolve(__dirname, './components/lib/utils/Utils.js'),
'primevue/usestyle': path.resolve(__dirname, './components/lib/usestyle/UseStyle.js'),
2023-03-31 23:25:56 +00:00
'primevue/api': path.resolve(__dirname, './components/lib/api/Api.js'),
'primevue/portal': path.resolve(__dirname, './components/lib/portal/Portal.vue'),
'primevue/basecomponent': path.resolve(__dirname, './components/lib/basecomponent/BaseComponent.vue'),
'primevue/baseicon': path.resolve(__dirname, './components/lib/baseicon/BaseIcon.vue'),
'primevue/icons/angledoubledown': path.resolve(__dirname, './components/lib/icons/angledoubledown/index.vue'),
'primevue/icons/angledoubleleft': path.resolve(__dirname, './components/lib/icons/angledoubleleft/index.vue'),
'primevue/icons/angledoubleright': path.resolve(__dirname, './components/lib/icons/angledoubleright/index.vue'),
'primevue/icons/angledoubleup': path.resolve(__dirname, './components/lib/icons/angledoubleup/index.vue'),
'primevue/icons/angledown': path.resolve(__dirname, './components/lib/icons/angledown/index.vue'),
'primevue/icons/angleleft': path.resolve(__dirname, './components/lib/icons/angleleft/index.vue'),
'primevue/icons/angleright': path.resolve(__dirname, './components/lib/icons/angleright/index.vue'),
'primevue/icons/angleup': path.resolve(__dirname, './components/lib/icons/angleup/index.vue'),
'primevue/icons/arrowdown': path.resolve(__dirname, './components/lib/icons/arrowdown/index.vue'),
'primevue/icons/arrowup': path.resolve(__dirname, './components/lib/icons/arrowup/index.vue'),
'primevue/icons/ban': path.resolve(__dirname, './components/lib/icons/ban/index.vue'),
'primevue/icons/bars': path.resolve(__dirname, './components/lib/icons/bars/index.vue'),
'primevue/icons/calendar': path.resolve(__dirname, './components/lib/icons/calendar/index.vue'),
'primevue/icons/check': path.resolve(__dirname, './components/lib/icons/check/index.vue'),
'primevue/icons/chevrondown': path.resolve(__dirname, './components/lib/icons/chevrondown/index.vue'),
'primevue/icons/chevronleft': path.resolve(__dirname, './components/lib/icons/chevronleft/index.vue'),
'primevue/icons/chevronright': path.resolve(__dirname, './components/lib/icons/chevronright/index.vue'),
'primevue/icons/chevronup': path.resolve(__dirname, './components/lib/icons/chevronup/index.vue'),
'primevue/icons/exclamationtriangle': path.resolve(__dirname, './components/lib/icons/exclamationtriangle/index.vue'),
'primevue/icons/eye': path.resolve(__dirname, './components/lib/icons/eye/index.vue'),
'primevue/icons/eyeslash': path.resolve(__dirname, './components/lib/icons/eyeslash/index.vue'),
'primevue/icons/filter': path.resolve(__dirname, './components/lib/icons/filter/index.vue'),
'primevue/icons/filterslash': path.resolve(__dirname, './components/lib/icons/filterslash/index.vue'),
'primevue/icons/infocircle': path.resolve(__dirname, './components/lib/icons/infocircle/index.vue'),
'primevue/icons/minus': path.resolve(__dirname, './components/lib/icons/minus/index.vue'),
'primevue/icons/pencil': path.resolve(__dirname, './components/lib/icons/pencil/index.vue'),
'primevue/icons/plus': path.resolve(__dirname, './components/lib/icons/plus/index.vue'),
'primevue/icons/refresh': path.resolve(__dirname, './components/lib/icons/refresh/index.vue'),
'primevue/icons/search': path.resolve(__dirname, './components/lib/icons/search/index.vue'),
'primevue/icons/searchminus': path.resolve(__dirname, './components/lib/icons/searchminus/index.vue'),
'primevue/icons/searchplus': path.resolve(__dirname, './components/lib/icons/searchplus/index.vue'),
'primevue/icons/sortalt': path.resolve(__dirname, './components/lib/icons/sortalt/index.vue'),
'primevue/icons/sortamountdown': path.resolve(__dirname, './components/lib/icons/sortamountdown/index.vue'),
'primevue/icons/sortamountupalt': path.resolve(__dirname, './components/lib/icons/sortamountupalt/index.vue'),
'primevue/icons/spinner': path.resolve(__dirname, './components/lib/icons/spinner/index.vue'),
'primevue/icons/star': path.resolve(__dirname, './components/lib/icons/star/index.vue'),
'primevue/icons/starfill': path.resolve(__dirname, './components/lib/icons/starfill/index.vue'),
'primevue/icons/thlarge': path.resolve(__dirname, './components/lib/icons/thlarge/index.vue'),
'primevue/icons/times': path.resolve(__dirname, './components/lib/icons/times/index.vue'),
'primevue/icons/timescircle': path.resolve(__dirname, './components/lib/icons/timescircle/index.vue'),
'primevue/icons/trash': path.resolve(__dirname, './components/lib/icons/trash/index.vue'),
'primevue/icons/undo': path.resolve(__dirname, './components/lib/icons/undo/index.vue'),
'primevue/icons/upload': path.resolve(__dirname, './components/lib/icons/upload/index.vue'),
'primevue/icons/windowmaximize': path.resolve(__dirname, './components/lib/icons/windowmaximize/index.vue'),
'primevue/icons/windowminimize': path.resolve(__dirname, './components/lib/icons/windowminimize/index.vue'),
2023-03-31 23:25:56 +00:00
'primevue/button': path.resolve(__dirname, './components/lib/button/Button.vue'),
'primevue/inputtext': path.resolve(__dirname, './components/lib/inputtext/InputText.vue'),
'primevue/dialog': path.resolve(__dirname, './components/lib/dialog/Dialog.vue'),
'primevue/menu': path.resolve(__dirname, './components/lib/menu/Menu.vue'),
'primevue/tieredmenu': path.resolve(__dirname, './components/lib/tieredmenu/TieredMenu.vue'),
'primevue/dropdown': path.resolve(__dirname, './components/lib/dropdown/Dropdown.vue'),
'primevue/inputnumber': path.resolve(__dirname, './components/lib/inputnumber/InputNumber.vue'),
'primevue/paginator': path.resolve(__dirname, './components/lib/paginator/Paginator.vue'),
'primevue/progressbar': path.resolve(__dirname, './components/lib/progressbar/ProgressBar.vue'),
'primevue/message': path.resolve(__dirname, './components/lib/message/Message.vue'),
'primevue/tree': path.resolve(__dirname, './components/lib/tree/Tree.vue'),
'primevue/badge': path.resolve(__dirname, './components/lib/badge/Badge.vue'),
'primevue/confirmationeventbus': path.resolve(__dirname, './components/lib/confirmationeventbus/ConfirmationEventBus.js'),
'primevue/toasteventbus': path.resolve(__dirname, './components/lib/toasteventbus/ToastEventBus.js'),
'primevue/overlayeventbus': path.resolve(__dirname, './components/lib/overlayeventbus/OverlayEventBus.js'),
'primevue/terminalservice': path.resolve(__dirname, './components/lib/terminalservice/TerminalService.js'),
'primevue/dynamicdialogeventbus': path.resolve(__dirname, './components/lib/dynamicdialogeventbus/DynamicDialogEventBus.js'),
'primevue/virtualscroller': path.resolve(__dirname, './components/lib/virtualscroller/VirtualScroller.vue')
}
}
};