2021-08-13 14:29:39 +00:00
|
|
|
const path = require('path');
|
2021-01-18 11:20:34 +00:00
|
|
|
|
2019-05-23 14:30:26 +00:00
|
|
|
module.exports = {
|
2020-03-15 18:50:13 +00:00
|
|
|
publicPath: process.env.NODE_ENV === 'production' ? '/primevue/showcase/' : '/',
|
2019-05-24 14:40:28 +00:00
|
|
|
productionSourceMap: false,
|
|
|
|
configureWebpack: {
|
2021-01-18 11:20:34 +00:00
|
|
|
resolve: {
|
|
|
|
alias: {
|
|
|
|
'primevue/ripple': path.resolve(__dirname, 'src/components/ripple/Ripple.js'),
|
2022-01-18 08:06:10 +00:00
|
|
|
'primevue/tooltip': path.resolve(__dirname, 'src/components/tooltip/Tooltip.js'),
|
2021-01-18 15:16:32 +00:00
|
|
|
'primevue/useconfirm': path.resolve(__dirname, 'src/components/useconfirm/UseConfirm.js'),
|
|
|
|
'primevue/usetoast': path.resolve(__dirname, 'src/components/usetoast/UseToast.js'),
|
2021-01-18 11:20:34 +00:00
|
|
|
'primevue/utils': path.resolve(__dirname, 'src/components/utils/Utils.js'),
|
2021-02-06 09:26:12 +00:00
|
|
|
'primevue/api': path.resolve(__dirname, 'src/components/api/Api.js'),
|
2021-01-18 11:20:34 +00:00
|
|
|
'primevue/button': path.resolve(__dirname, 'src/components/button/Button.vue'),
|
|
|
|
'primevue/inputtext': path.resolve(__dirname, 'src/components/inputtext/InputText.vue'),
|
|
|
|
'primevue/dialog': path.resolve(__dirname, 'src/components/dialog/Dialog.vue'),
|
|
|
|
'primevue/menu': path.resolve(__dirname, 'src/components/menu/Menu.vue'),
|
2021-06-25 14:23:15 +00:00
|
|
|
'primevue/tieredmenu': path.resolve(__dirname, 'src/components/tieredmenu/TieredMenu.vue'),
|
2021-01-18 11:20:34 +00:00
|
|
|
'primevue/dropdown': path.resolve(__dirname, 'src/components/dropdown/Dropdown.vue'),
|
2021-08-31 13:11:04 +00:00
|
|
|
'primevue/inputnumber': path.resolve(__dirname, 'src/components/inputnumber/InputNumber.vue'),
|
2021-01-18 11:20:34 +00:00
|
|
|
'primevue/paginator': path.resolve(__dirname, 'src/components/paginator/Paginator.vue'),
|
|
|
|
'primevue/progressbar': path.resolve(__dirname, 'src/components/progressbar/ProgressBar.vue'),
|
|
|
|
'primevue/message': path.resolve(__dirname, 'src/components/message/Message.vue'),
|
2021-04-09 12:04:11 +00:00
|
|
|
'primevue/tree': path.resolve(__dirname, 'src/components/tree/Tree.vue'),
|
2021-01-18 11:20:34 +00:00
|
|
|
'primevue/confirmationeventbus': path.resolve(__dirname, 'src/components/confirmationeventbus/ConfirmationEventBus.js'),
|
|
|
|
'primevue/toasteventbus': path.resolve(__dirname, 'src/components/toasteventbus/ToastEventBus.js'),
|
2021-03-03 10:30:19 +00:00
|
|
|
'primevue/overlayeventbus': path.resolve(__dirname, 'src/components/overlayeventbus/OverlayEventBus.js'),
|
2021-08-13 14:29:39 +00:00
|
|
|
'primevue/terminalservice': path.resolve(__dirname, 'src/components/terminalservice/TerminalService.js'),
|
|
|
|
'primevue/virtualscroller': path.resolve(__dirname, 'src/components/virtualscroller/VirtualScroller.vue')
|
2021-01-18 11:20:34 +00:00
|
|
|
},
|
|
|
|
},
|
2019-05-24 14:40:28 +00:00
|
|
|
output: {
|
|
|
|
libraryExport: 'default'
|
|
|
|
}
|
2019-05-25 15:04:03 +00:00
|
|
|
},
|
2019-10-01 13:00:26 +00:00
|
|
|
css: {
|
|
|
|
extract: false
|
2019-05-24 14:40:28 +00:00
|
|
|
}
|
2021-08-13 14:29:39 +00:00
|
|
|
}
|