diff --git a/rollup.config.js b/rollup.config.js index a74b97097..06c8dfc6b 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -31,9 +31,9 @@ function addEntry(folder, inFile, outFile) { input: 'src/components/' + folder + '/' + inFile, output: [ { - format: 'umd', + format: 'cjs', name: 'primevue.' + folder, - file: 'dist/' + folder + '/' + outFile + '.umd.js', + file: 'dist/' + folder + '/' + outFile + '.cjs.js', }, { format: 'esm', @@ -52,13 +52,13 @@ function addEntry(folder, inFile, outFile) { ] }); - /*entries.push({ + entries.push({ input: 'src/components/' + folder + '/' + inFile, output: [ { - format: 'umd', + format: 'cjs', name: folder, - file: 'dist/' + folder + '/' + outFile + '.umd.min.js' + file: 'dist/' + folder + '/' + outFile + '.cjs.min.js' }, { format: 'esm', @@ -67,7 +67,8 @@ function addEntry(folder, inFile, outFile) { { format: 'iife', name: folder, - file: 'dist/' + folder + '/' + outFile + '.min.js' + file: 'dist/' + folder + '/' + outFile + '.min.js', + globals: globalDependencies } ], plugins: [ @@ -75,7 +76,7 @@ function addEntry(folder, inFile, outFile) { postcss(), terser() ] - });*/ + }); } function addSFC() { diff --git a/src/components/accordion/package.json b/src/components/accordion/package.json index 108e33419..c3c6b162a 100644 --- a/src/components/accordion/package.json +++ b/src/components/accordion/package.json @@ -1,5 +1,5 @@ { - "main": "./accordion.umd.js", + "main": "./accordion.cjs.js", "module": "./accordion.esm.js", "unpkg": "./accordion.min.js", "types": "./Accordion.d.ts" diff --git a/src/components/accordiontab/package.json b/src/components/accordiontab/package.json index 6c8a60884..138c4a26c 100644 --- a/src/components/accordiontab/package.json +++ b/src/components/accordiontab/package.json @@ -1,5 +1,5 @@ { - "main": "./accordiontab.umd.js", + "main": "./accordiontab.cjs.js", "module": "./accordiontab.esm.js", "unpkg": "./accordiontab.min.js", "types": "./AccordionTab.d.ts" diff --git a/src/components/autocomplete/package.json b/src/components/autocomplete/package.json index a6125b518..a2a09684f 100644 --- a/src/components/autocomplete/package.json +++ b/src/components/autocomplete/package.json @@ -1,5 +1,5 @@ { - "main": "./autocomplete.umd.js", + "main": "./autocomplete.cjs.js", "module": "./autocomplete.esm.js", "unpkg": "./autocomplete.min.js", "types": "./AutoComplete.d.ts" diff --git a/src/components/avatar/package.json b/src/components/avatar/package.json index a9c6f946b..14d62b701 100644 --- a/src/components/avatar/package.json +++ b/src/components/avatar/package.json @@ -1,5 +1,5 @@ { - "main": "./avatar.umd.js", + "main": "./avatar.cjs.js", "module": "./avatar.esm.js", "unpkg": "./avatar.min.js", "types": "./Avatar.d.ts" diff --git a/src/components/avatargroup/package.json b/src/components/avatargroup/package.json index 081d08223..2140a699e 100644 --- a/src/components/avatargroup/package.json +++ b/src/components/avatargroup/package.json @@ -1,5 +1,5 @@ { - "main": "./avatargroup.umd.js", + "main": "./avatargroup.cjs.js", "module": "./avatargroup.esm.js", "unpkg": "./avatargroup.min.js", "types": "./AvatarGroup.d.ts" diff --git a/src/components/badge/package.json b/src/components/badge/package.json index 7651afcf5..2f77974b2 100644 --- a/src/components/badge/package.json +++ b/src/components/badge/package.json @@ -1,5 +1,5 @@ { - "main": "./badge.umd.js", + "main": "./badge.cjs.js", "module": "./badge.esm.js", "unpkg": "./badge.min.js", "types": "./Badge.d.ts" diff --git a/src/components/badgedirective/package.json b/src/components/badgedirective/package.json index 53b94dc71..a58e7b158 100644 --- a/src/components/badgedirective/package.json +++ b/src/components/badgedirective/package.json @@ -1,5 +1,5 @@ { - "main": "./badgedirective.umd.js", + "main": "./badgedirective.cjs.js", "module": "./badgedirective.esm.js", "unpkg": "./badgedirective.min.js", "types": "./BadgeDirective.d.ts" diff --git a/src/components/blockui/package.json b/src/components/blockui/package.json index a7446f620..2473570e2 100644 --- a/src/components/blockui/package.json +++ b/src/components/blockui/package.json @@ -1,5 +1,5 @@ { - "main": "./blockui.umd.js", + "main": "./blockui.cjs.js", "module": "./blockui.esm.js", "unpkg": "./blockui.min.js", "types": "./BlockUI.d.ts" diff --git a/src/components/breadcrumb/package.json b/src/components/breadcrumb/package.json index d2acf90cf..43d26cedf 100644 --- a/src/components/breadcrumb/package.json +++ b/src/components/breadcrumb/package.json @@ -1,5 +1,5 @@ { - "main": "./breadcrumb.umd.js", + "main": "./breadcrumb.cjs.js", "module": "./breadcrumb.esm.js", "unpkg": "./breadcrumb.min.js", "types": "./Breadcrumb.d.ts" diff --git a/src/components/button/package.json b/src/components/button/package.json index 82ad99748..1b5012993 100644 --- a/src/components/button/package.json +++ b/src/components/button/package.json @@ -1,5 +1,5 @@ { - "main": "./button.umd.js", + "main": "./button.cjs.js", "module": "./button.esm.js", "unpkg": "./button.min.js", "types": "./Button.d.ts" diff --git a/src/components/calendar/package.json b/src/components/calendar/package.json index 9e67a3095..7426e120d 100644 --- a/src/components/calendar/package.json +++ b/src/components/calendar/package.json @@ -1,5 +1,5 @@ { - "main": "./calendar.umd.js", + "main": "./calendar.cjs.js", "module": "./calendar.esm.js", "unpkg": "./calendar.min.js", "types": "./Calendar.d.ts" diff --git a/src/components/card/package.json b/src/components/card/package.json index 0a9a762a1..195d564dd 100644 --- a/src/components/card/package.json +++ b/src/components/card/package.json @@ -1,5 +1,5 @@ { - "main": "./card.umd.js", + "main": "./card.cjs.js", "module": "./card.esm.js", "unpkg": "./card.min.js", "types": "./Card.d.ts" diff --git a/src/components/carousel/package.json b/src/components/carousel/package.json index 57a589ac8..d308f55b2 100644 --- a/src/components/carousel/package.json +++ b/src/components/carousel/package.json @@ -1,5 +1,5 @@ { - "main": "./carousel.umd.js", + "main": "./carousel.cjs.js", "module": "./carousel.esm.js", "unpkg": "./carousel.min.js", "types": "./Carousel.d.ts" diff --git a/src/components/cascadeselect/package.json b/src/components/cascadeselect/package.json index cbca37362..4df95db85 100644 --- a/src/components/cascadeselect/package.json +++ b/src/components/cascadeselect/package.json @@ -1,5 +1,5 @@ { - "main": "./cascadeselect.umd.js", + "main": "./cascadeselect.cjs.js", "module": "./cascadeselect.esm.js", "unpkg": "./cascadeselect.min.js", "types": "./CascadeSelect.d.ts" diff --git a/src/components/chart/package.json b/src/components/chart/package.json index 4a547550c..2c289a3c9 100644 --- a/src/components/chart/package.json +++ b/src/components/chart/package.json @@ -1,5 +1,5 @@ { - "main": "./chart.umd.js", + "main": "./chart.cjs.js", "module": "./chart.esm.js", "unpkg": "./chart.min.js", "types": "./Chart.d.ts" diff --git a/src/components/checkbox/package.json b/src/components/checkbox/package.json index 494e5640e..3eabb6e7d 100644 --- a/src/components/checkbox/package.json +++ b/src/components/checkbox/package.json @@ -1,5 +1,5 @@ { - "main": "./checkbox.umd.js", + "main": "./checkbox.cjs.js", "module": "./checkbox.esm.js", "unpkg": "./checkbox.min.js", "types": "./Checkbox.d.ts" diff --git a/src/components/chip/package.json b/src/components/chip/package.json index 598f14f0b..18e2eed49 100644 --- a/src/components/chip/package.json +++ b/src/components/chip/package.json @@ -1,5 +1,5 @@ { - "main": "./chip.umd.js", + "main": "./chip.cjs.js", "module": "./chip.esm.js", "unpkg": "./chip.min.js", "types": "./Chip.d.ts" diff --git a/src/components/chips/package.json b/src/components/chips/package.json index b1054ccfa..3845aaeb4 100644 --- a/src/components/chips/package.json +++ b/src/components/chips/package.json @@ -1,5 +1,5 @@ { - "main": "./chips.umd.js", + "main": "./chips.cjs.js", "module": "./chips.esm.js", "unpkg": "./chips.min.js", "types": "./Chips.d.ts" diff --git a/src/components/colorpicker/package.json b/src/components/colorpicker/package.json index ee3b5d6e7..8f95cd0ee 100644 --- a/src/components/colorpicker/package.json +++ b/src/components/colorpicker/package.json @@ -1,5 +1,5 @@ { - "main": "./colorpicker.umd.js", + "main": "./colorpicker.cjs.js", "module": "./colorpicker.esm.js", "unpkg": "./colorpicker.min.js", "types": "./ColorPicker.d.ts" diff --git a/src/components/column/package.json b/src/components/column/package.json index cf37059e7..2c8b4f933 100644 --- a/src/components/column/package.json +++ b/src/components/column/package.json @@ -1,5 +1,5 @@ { - "main": "./column.umd.js", + "main": "./column.cjs.js", "module": "./column.esm.js", "unpkg": "./column.min.js", "types": "./Column.d.ts" diff --git a/src/components/columngroup/package.json b/src/components/columngroup/package.json index 46af47a0e..f461b9c4d 100644 --- a/src/components/columngroup/package.json +++ b/src/components/columngroup/package.json @@ -1,5 +1,5 @@ { - "main": "./columngroup.umd.js", + "main": "./columngroup.cjs.js", "module": "./columngroup.esm.js", "unpkg": "./columngroup.min.js", "types": "./ColumnGroup.d.ts" diff --git a/src/components/common/package.json b/src/components/common/package.json index 6c7352e71..66dc31abf 100644 --- a/src/components/common/package.json +++ b/src/components/common/package.json @@ -1,5 +1,5 @@ { - "main": "./common.umd.js", + "main": "./common.cjs.js", "module": "./common.esm.js", "unpkg": "./common.min.js", "types": "./Common.d.ts" diff --git a/src/components/config/package.json b/src/components/config/package.json index b66442b03..4e2da42d3 100644 --- a/src/components/config/package.json +++ b/src/components/config/package.json @@ -1,5 +1,5 @@ { - "main": "./config.umd.js", + "main": "./config.cjs.js", "module": "./config.esm.js", "unpkg": "./config.min.js", "types": "./PrimeVue.d.ts" diff --git a/src/components/confirmationeventbus/package.json b/src/components/confirmationeventbus/package.json index 5416cd20e..84b4ed833 100644 --- a/src/components/confirmationeventbus/package.json +++ b/src/components/confirmationeventbus/package.json @@ -1,5 +1,5 @@ { - "main": "./confirmationeventbus.umd.js", + "main": "./confirmationeventbus.cjs.js", "module": "./confirmationeventbus.esm.js", "unpkg": "./confirmationeventbus.min.js" } \ No newline at end of file diff --git a/src/components/confirmationservice/package.json b/src/components/confirmationservice/package.json index 15b9887ac..c6f800733 100644 --- a/src/components/confirmationservice/package.json +++ b/src/components/confirmationservice/package.json @@ -1,5 +1,5 @@ { - "main": "./confirmationservice.umd.js", + "main": "./confirmationservice.cjs.js", "module": "./confirmationservice.esm.js", "unpkg": "./confirmationservice.min.js", "types": "./ConfirmationService.d.ts" diff --git a/src/components/confirmdialog/package.json b/src/components/confirmdialog/package.json index a784615c5..19658bf70 100644 --- a/src/components/confirmdialog/package.json +++ b/src/components/confirmdialog/package.json @@ -1,5 +1,5 @@ { - "main": "./confirmdialog.umd.js", + "main": "./confirmdialog.cjs.js", "module": "./confirmdialog.esm.js", "unpkg": "./confirmdialog.min.js", "types": "./ConfirmDialog.d.ts" diff --git a/src/components/confirmpopup/package.json b/src/components/confirmpopup/package.json index 90d4588d0..0a9df29d3 100644 --- a/src/components/confirmpopup/package.json +++ b/src/components/confirmpopup/package.json @@ -1,5 +1,5 @@ { - "main": "./confirmpopup.umd.js", + "main": "./confirmpopup.cjs.js", "module": "./confirmpopup.esm.js", "unpkg": "./confirmpopup.min.js", "types": "./ConfirmPopup.d.ts" diff --git a/src/components/contextmenu/package.json b/src/components/contextmenu/package.json index 6d25d5d01..a160f696d 100644 --- a/src/components/contextmenu/package.json +++ b/src/components/contextmenu/package.json @@ -1,5 +1,5 @@ { - "main": "./contextmenu.umd.js", + "main": "./contextmenu.cjs.js", "module": "./contextmenu.esm.js", "unpkg": "./contextmenu.min.js", "types": "./ContextMenu.d.ts" diff --git a/src/components/datatable/package.json b/src/components/datatable/package.json index 030445bc4..b185c241d 100644 --- a/src/components/datatable/package.json +++ b/src/components/datatable/package.json @@ -1,5 +1,5 @@ { - "main": "./datatable.umd.js", + "main": "./datatable.cjs.js", "module": "./datatable.esm.js", "unpkg": "./datatable.min.js", "types": "./DataTable.d.ts" diff --git a/src/components/dataview/package.json b/src/components/dataview/package.json index a1c21a3bc..d80e9e159 100644 --- a/src/components/dataview/package.json +++ b/src/components/dataview/package.json @@ -1,5 +1,5 @@ { - "main": "./dataview.umd.js", + "main": "./dataview.cjs.js", "module": "./dataview.esm.js", "unpkg": "./dataview.min.js", "types": "./DataView.d.ts" diff --git a/src/components/dataviewlayoutoptions/package.json b/src/components/dataviewlayoutoptions/package.json index 547661b85..def887e99 100644 --- a/src/components/dataviewlayoutoptions/package.json +++ b/src/components/dataviewlayoutoptions/package.json @@ -1,5 +1,5 @@ { - "main": "./dataviewlayoutoptions.umd.js", + "main": "./dataviewlayoutoptions.cjs.js", "module": "./dataviewlayoutoptions.esm.js", "unpkg": "./dataviewlayoutoptions.min.js", "types": "./DataViewLayoutOptions.d.ts" diff --git a/src/components/deferredcontent/package.json b/src/components/deferredcontent/package.json index 558ab75e8..4b3044632 100644 --- a/src/components/deferredcontent/package.json +++ b/src/components/deferredcontent/package.json @@ -1,5 +1,5 @@ { - "main": "./deferredcontent.umd.js", + "main": "./deferredcontent.cjs.js", "module": "./deferredcontent.esm.js", "unpkg": "./deferredcontent.min.js", "types": "./DeferredContent.d.ts" diff --git a/src/components/dialog/package.json b/src/components/dialog/package.json index 86dbb3c02..9887ed2ed 100644 --- a/src/components/dialog/package.json +++ b/src/components/dialog/package.json @@ -1,5 +1,5 @@ { - "main": "./dialog.umd.js", + "main": "./dialog.cjs.js", "module": "./dialog.esm.js", "unpkg": "./dialog.min.js", "types": "./Dialog.d.ts" diff --git a/src/components/divider/package.json b/src/components/divider/package.json index 752e60350..c45632c5d 100644 --- a/src/components/divider/package.json +++ b/src/components/divider/package.json @@ -1,5 +1,5 @@ { - "main": "./divider.umd.js", + "main": "./divider.cjs.js", "module": "./divider.esm.js", "unpkg": "./divider.min.js", "types": "./Divider.d.ts" diff --git a/src/components/dropdown/package.json b/src/components/dropdown/package.json index 1d348dc56..478ac6e02 100644 --- a/src/components/dropdown/package.json +++ b/src/components/dropdown/package.json @@ -1,5 +1,5 @@ { - "main": "./dropdown.umd.js", + "main": "./dropdown.cjs.js", "module": "./dropdown.esm.js", "unpkg": "./dropdown.min.js", "types": "./Dropdown.d.ts" diff --git a/src/components/editor/package.json b/src/components/editor/package.json index 967f73287..ff2a14be8 100644 --- a/src/components/editor/package.json +++ b/src/components/editor/package.json @@ -1,5 +1,5 @@ { - "main": "./editor.umd.js", + "main": "./editor.cjs.js", "module": "./editor.esm.js", "unpkg": "./editor.min.js", "types": "./Editor.d.ts" diff --git a/src/components/fieldset/package.json b/src/components/fieldset/package.json index 03f23abb3..d93534836 100644 --- a/src/components/fieldset/package.json +++ b/src/components/fieldset/package.json @@ -1,5 +1,5 @@ { - "main": "./fieldset.umd.js", + "main": "./fieldset.cjs.js", "module": "./fieldset.esm.js", "unpkg": "./fieldset.min.js", "types": "./Fieldset.d.ts" diff --git a/src/components/fileupload/package.json b/src/components/fileupload/package.json index da3ddb7eb..685f6a93a 100644 --- a/src/components/fileupload/package.json +++ b/src/components/fileupload/package.json @@ -1,5 +1,5 @@ { - "main": "./fileupload.umd.js", + "main": "./fileupload.cjs.js", "module": "./fileupload.esm.js", "unpkg": "./fileupload.min.js", "types": "./FileUpload.d.ts" diff --git a/src/components/fullcalendar/package.json b/src/components/fullcalendar/package.json index 8c765bf42..a7c001e1a 100644 --- a/src/components/fullcalendar/package.json +++ b/src/components/fullcalendar/package.json @@ -1,5 +1,5 @@ { - "main": "./fullcalendar.umd.js", + "main": "./fullcalendar.cjs.js", "module": "./fullcalendar.esm.js", "unpkg": "./fullcalendar.min.js", "types": "./FullCalendar.d.ts" diff --git a/src/components/galleria/package.json b/src/components/galleria/package.json index d2a1c3c51..7d2465360 100644 --- a/src/components/galleria/package.json +++ b/src/components/galleria/package.json @@ -1,5 +1,5 @@ { - "main": "./galleria.umd.js", + "main": "./galleria.cjs.js", "module": "./galleria.esm.js", "unpkg": "./galleria.min.js", "types": "./Galleria.d.ts" diff --git a/src/components/inlinemessage/package.json b/src/components/inlinemessage/package.json index da399a516..cba8c95a9 100644 --- a/src/components/inlinemessage/package.json +++ b/src/components/inlinemessage/package.json @@ -1,5 +1,5 @@ { - "main": "./inlinemessage.umd.js", + "main": "./inlinemessage.cjs.js", "module": "./inlinemessage.esm.js", "unpkg": "./inlinemessage.min.js", "types": "./InlineMessage.d.ts" diff --git a/src/components/inplace/package.json b/src/components/inplace/package.json index 17ea55b96..dd0888165 100644 --- a/src/components/inplace/package.json +++ b/src/components/inplace/package.json @@ -1,5 +1,5 @@ { - "main": "./inplace.umd.js", + "main": "./inplace.cjs.js", "module": "./inplace.esm.js", "unpkg": "./inplace.min.js", "types": "./Inplace.d.ts" diff --git a/src/components/inputmask/package.json b/src/components/inputmask/package.json index b26ffb50c..76a3e926e 100644 --- a/src/components/inputmask/package.json +++ b/src/components/inputmask/package.json @@ -1,5 +1,5 @@ { - "main": "./inputmask.umd.js", + "main": "./inputmask.cjs.js", "module": "./inputmask.esm.js", "unpkg": "./inputmask.min.js", "types": "./InputMask.d.ts" diff --git a/src/components/inputnumber/package.json b/src/components/inputnumber/package.json index 8f08a522d..61eeb437e 100644 --- a/src/components/inputnumber/package.json +++ b/src/components/inputnumber/package.json @@ -1,5 +1,5 @@ { - "main": "./inputnumber.umd.js", + "main": "./inputnumber.cjs.js", "module": "./inputnumber.esm.js", "unpkg": "./inputnumber.min.js", "types": "./InputNumber.d.ts" diff --git a/src/components/inputswitch/package.json b/src/components/inputswitch/package.json index a7d8f79a8..092bcc031 100644 --- a/src/components/inputswitch/package.json +++ b/src/components/inputswitch/package.json @@ -1,5 +1,5 @@ { - "main": "./inputswitch.umd.js", + "main": "./inputswitch.cjs.js", "module": "./inputswitch.esm.js", "unpkg": "./inputswitch.min.js", "types": "./InputSwitch.d.ts" diff --git a/src/components/inputtext/package.json b/src/components/inputtext/package.json index d8f18eb11..2947c2b5a 100644 --- a/src/components/inputtext/package.json +++ b/src/components/inputtext/package.json @@ -1,5 +1,5 @@ { - "main": "./inputtext.umd.js", + "main": "./inputtext.cjs.js", "module": "./inputtext.esm.js", "unpkg": "./inputtext.min.js", "types": "./InputText.d.ts" diff --git a/src/components/knob/package.json b/src/components/knob/package.json index 975f74b85..31862098a 100644 --- a/src/components/knob/package.json +++ b/src/components/knob/package.json @@ -1,5 +1,5 @@ { - "main": "./knob.umd.js", + "main": "./knob.cjs.js", "module": "./knob.esm.js", "unpkg": "./knob.min.js", "types": "./Knob.d.ts" diff --git a/src/components/listbox/package.json b/src/components/listbox/package.json index 0059ffc8c..7f99029fd 100644 --- a/src/components/listbox/package.json +++ b/src/components/listbox/package.json @@ -1,5 +1,5 @@ { - "main": "./listbox.umd.js", + "main": "./listbox.cjs.js", "module": "./listbox.esm.js", "unpkg": "./listbox.min.js", "types": "./Listbox.d.ts" diff --git a/src/components/megamenu/package.json b/src/components/megamenu/package.json index bed14912f..9fcb4b523 100644 --- a/src/components/megamenu/package.json +++ b/src/components/megamenu/package.json @@ -1,5 +1,5 @@ { - "main": "./megamenu.umd.js", + "main": "./megamenu.cjs.js", "module": "./megamenu.esm.js", "unpkg": "./megamenu.min.js", "types": "./MegaMenu.d.ts" diff --git a/src/components/menu/package.json b/src/components/menu/package.json index ea0fa765e..a345a14fe 100644 --- a/src/components/menu/package.json +++ b/src/components/menu/package.json @@ -1,5 +1,5 @@ { - "main": "./menu.umd.js", + "main": "./menu.cjs.js", "module": "./menu.esm.js", "unpkg": "./menu.min.js", "types": "./Menu.d.ts" diff --git a/src/components/menubar/package.json b/src/components/menubar/package.json index 1b4f9c2fc..e3c495770 100644 --- a/src/components/menubar/package.json +++ b/src/components/menubar/package.json @@ -1,5 +1,5 @@ { - "main": "./menubar.umd.js", + "main": "./menubar.cjs.js", "module": "./menubar.esm.js", "unpkg": "./menubar.min.js", "types": "./Menubar.d.ts" diff --git a/src/components/message/package.json b/src/components/message/package.json index 70379a66e..96674ffaa 100644 --- a/src/components/message/package.json +++ b/src/components/message/package.json @@ -1,5 +1,5 @@ { - "main": "./message.umd.js", + "main": "./message.cjs.js", "module": "./message.esm.js", "unpkg": "./message.min.js", "types": "./Message.d.ts" diff --git a/src/components/multiselect/package.json b/src/components/multiselect/package.json index 1b3055748..5b6688596 100644 --- a/src/components/multiselect/package.json +++ b/src/components/multiselect/package.json @@ -1,5 +1,5 @@ { - "main": "./multiselect.umd.js", + "main": "./multiselect.cjs.js", "module": "./multiselect.esm.js", "unpkg": "./multiselect.min.js", "types": "./MultiSelect.d.ts" diff --git a/src/components/orderlist/package.json b/src/components/orderlist/package.json index 4a5fbb92c..89a989022 100644 --- a/src/components/orderlist/package.json +++ b/src/components/orderlist/package.json @@ -1,5 +1,5 @@ { - "main": "./orderlist.umd.js", + "main": "./orderlist.cjs.js", "module": "./orderlist.esm.js", "unpkg": "./orderlist.min.js", "types": "./OrderList.d.ts" diff --git a/src/components/organizationchart/package.json b/src/components/organizationchart/package.json index b6604353d..238f19f4f 100644 --- a/src/components/organizationchart/package.json +++ b/src/components/organizationchart/package.json @@ -1,5 +1,5 @@ { - "main": "./organizationchart.umd.js", + "main": "./organizationchart.cjs.js", "module": "./organizationchart.esm.js", "unpkg": "./organizationchart.min.js", "types": "./OrganizationChart.d.ts" diff --git a/src/components/overlaypanel/package.json b/src/components/overlaypanel/package.json index d9a32a4df..68b044d76 100644 --- a/src/components/overlaypanel/package.json +++ b/src/components/overlaypanel/package.json @@ -1,5 +1,5 @@ { - "main": "./overlaypanel.umd.js", + "main": "./overlaypanel.cjs.js", "module": "./overlaypanel.esm.js", "unpkg": "./overlaypanel.min.js", "types": "./OverlayPanel.d.ts" diff --git a/src/components/paginator/package.json b/src/components/paginator/package.json index 3d49e5a0a..ea88d4275 100644 --- a/src/components/paginator/package.json +++ b/src/components/paginator/package.json @@ -1,5 +1,5 @@ { - "main": "./paginator.umd.js", + "main": "./paginator.cjs.js", "module": "./paginator.esm.js", "unpkg": "./paginator.min.js", "types": "./Paginator.d.ts" diff --git a/src/components/panel/package.json b/src/components/panel/package.json index c9a031eb8..0dea8212c 100644 --- a/src/components/panel/package.json +++ b/src/components/panel/package.json @@ -1,5 +1,5 @@ { - "main": "./panel.umd.js", + "main": "./panel.cjs.js", "module": "./panel.esm.js", "unpkg": "./panel.min.js", "types": "./Panel.d.ts" diff --git a/src/components/panelmenu/package.json b/src/components/panelmenu/package.json index 9222cdef4..54e7e4e86 100644 --- a/src/components/panelmenu/package.json +++ b/src/components/panelmenu/package.json @@ -1,5 +1,5 @@ { - "main": "./panelmenu.umd.js", + "main": "./panelmenu.cjs.js", "module": "./panelmenu.esm.js", "unpkg": "./panelmenu.min.js", "types": "./PanelMenu.d.ts" diff --git a/src/components/password/package.json b/src/components/password/package.json index b738dbf69..3cce2738c 100644 --- a/src/components/password/package.json +++ b/src/components/password/package.json @@ -1,5 +1,5 @@ { - "main": "./password.umd.js", + "main": "./password.cjs.js", "module": "./password.esm.js", "unpkg": "./password.min.js", "types": "./Password.d.ts" diff --git a/src/components/picklist/package.json b/src/components/picklist/package.json index 36bff4437..63ed0312c 100644 --- a/src/components/picklist/package.json +++ b/src/components/picklist/package.json @@ -1,5 +1,5 @@ { - "main": "./picklist.umd.js", + "main": "./picklist.cjs.js", "module": "./picklist.esm.js", "unpkg": "./picklist.min.js", "types": "./PickList.d.ts" diff --git a/src/components/progressbar/package.json b/src/components/progressbar/package.json index 8368a6500..6f2bf0726 100644 --- a/src/components/progressbar/package.json +++ b/src/components/progressbar/package.json @@ -1,5 +1,5 @@ { - "main": "./progressbar.umd.js", + "main": "./progressbar.cjs.js", "module": "./progressbar.esm.js", "unpkg": "./progressbar.min.js", "types": "./ProgressBar.d.ts" diff --git a/src/components/progressspinner/package.json b/src/components/progressspinner/package.json index bdcb6dcb6..e9aac4af2 100644 --- a/src/components/progressspinner/package.json +++ b/src/components/progressspinner/package.json @@ -1,5 +1,5 @@ { - "main": "./progressspinner.umd.js", + "main": "./progressspinner.cjs.js", "module": "./progressspinner.esm.js", "unpkg": "./progressspinner.min.js", "types": "./ProgressSpinner.d.ts" diff --git a/src/components/radiobutton/package.json b/src/components/radiobutton/package.json index 582fdad0b..9de2d9276 100644 --- a/src/components/radiobutton/package.json +++ b/src/components/radiobutton/package.json @@ -1,5 +1,5 @@ { - "main": "./radiobutton.umd.js", + "main": "./radiobutton.cjs.js", "module": "./radiobutton.esm.js", "unpkg": "./radiobutton.min.js", "types": "./RadioButton.d.ts" diff --git a/src/components/rating/package.json b/src/components/rating/package.json index 0a87568a2..87ec90bc5 100644 --- a/src/components/rating/package.json +++ b/src/components/rating/package.json @@ -1,5 +1,5 @@ { - "main": "./rating.umd.js", + "main": "./rating.cjs.js", "module": "./rating.esm.js", "unpkg": "./rating.min.js", "types": "./Rating.d.ts" diff --git a/src/components/ripple/package.json b/src/components/ripple/package.json index 132524318..ee0f58f70 100644 --- a/src/components/ripple/package.json +++ b/src/components/ripple/package.json @@ -1,5 +1,5 @@ { - "main": "./ripple.umd.js", + "main": "./ripple.cjs.js", "module": "./ripple.esm.js", "unpkg": "./ripple.min.js", "types": "./Ripple.d.ts" diff --git a/src/components/row/package.json b/src/components/row/package.json index 5ae53772f..2325f0ecf 100644 --- a/src/components/row/package.json +++ b/src/components/row/package.json @@ -1,5 +1,5 @@ { - "main": "./row.umd.js", + "main": "./row.cjs.js", "module": "./row.esm.js", "unpkg": "./row.min.js", "types": "./Row.d.ts" diff --git a/src/components/scrollpanel/package.json b/src/components/scrollpanel/package.json index db1de6308..530c2cee8 100644 --- a/src/components/scrollpanel/package.json +++ b/src/components/scrollpanel/package.json @@ -1,5 +1,5 @@ { - "main": "./scrollpanel.umd.js", + "main": "./scrollpanel.cjs.js", "module": "./scrollpanel.esm.js", "unpkg": "./scrollpanel.min.js", "types": "./ScrollPanel.d.ts" diff --git a/src/components/scrolltop/package.json b/src/components/scrolltop/package.json index fc81939b2..8420ba42e 100644 --- a/src/components/scrolltop/package.json +++ b/src/components/scrolltop/package.json @@ -1,5 +1,5 @@ { - "main": "./scrolltop.umd.js", + "main": "./scrolltop.cjs.js", "module": "./scrolltop.esm.js", "unpkg": "./scrolltop.min.js", "types": "./ScrollTop.d.ts" diff --git a/src/components/selectbutton/package.json b/src/components/selectbutton/package.json index e788c3c8f..9b82beeac 100644 --- a/src/components/selectbutton/package.json +++ b/src/components/selectbutton/package.json @@ -1,5 +1,5 @@ { - "main": "./selectbutton.umd.js", + "main": "./selectbutton.cjs.js", "module": "./selectbutton.esm.js", "unpkg": "./selectbutton.min.js", "types": "./SelectButton.d.ts" diff --git a/src/components/sidebar/package.json b/src/components/sidebar/package.json index 71861d38a..4e8033152 100644 --- a/src/components/sidebar/package.json +++ b/src/components/sidebar/package.json @@ -1,5 +1,5 @@ { - "main": "./sidebar.umd.js", + "main": "./sidebar.cjs.js", "module": "./sidebar.esm.js", "unpkg": "./sidebar.min.js", "types": "./Sidebar.d.ts" diff --git a/src/components/skeleton/package.json b/src/components/skeleton/package.json index 88bfa79e5..77f013e38 100644 --- a/src/components/skeleton/package.json +++ b/src/components/skeleton/package.json @@ -1,5 +1,5 @@ { - "main": "./skeleton.umd.js", + "main": "./skeleton.cjs.js", "module": "./skeleton.esm.js", "unpkg": "./skeleton.min.js", "types": "./Skeleton.d.ts" diff --git a/src/components/slider/package.json b/src/components/slider/package.json index 31e100762..bd673c8e4 100644 --- a/src/components/slider/package.json +++ b/src/components/slider/package.json @@ -1,5 +1,5 @@ { - "main": "./slider.umd.js", + "main": "./slider.cjs.js", "module": "./slider.esm.js", "unpkg": "./slider.min.js", "types": "./Slider.d.ts" diff --git a/src/components/splitbutton/package.json b/src/components/splitbutton/package.json index 736c58395..60b1e88e3 100644 --- a/src/components/splitbutton/package.json +++ b/src/components/splitbutton/package.json @@ -1,5 +1,5 @@ { - "main": "./splitbutton.umd.js", + "main": "./splitbutton.cjs.js", "module": "./splitbutton.esm.js", "unpkg": "./splitbutton.min.js", "types": "./SplitButton.d.ts" diff --git a/src/components/splitter/package.json b/src/components/splitter/package.json index 899cac154..84be2dd75 100644 --- a/src/components/splitter/package.json +++ b/src/components/splitter/package.json @@ -1,5 +1,5 @@ { - "main": "./splitter.umd.js", + "main": "./splitter.cjs.js", "module": "./splitter.esm.js", "unpkg": "./splitter.min.js", "types": "./Splitter.d.ts" diff --git a/src/components/splitterpanel/package.json b/src/components/splitterpanel/package.json index f019c41e4..bc59f3b7d 100644 --- a/src/components/splitterpanel/package.json +++ b/src/components/splitterpanel/package.json @@ -1,5 +1,5 @@ { - "main": "./splitterpanel.umd.js", + "main": "./splitterpanel.cjs.js", "module": "./splitterpanel.esm.js", "unpkg": "./splitterpanel.min.js", "types": "./SplitterPanel.d.ts" diff --git a/src/components/steps/package.json b/src/components/steps/package.json index a6eefba05..052305911 100644 --- a/src/components/steps/package.json +++ b/src/components/steps/package.json @@ -1,5 +1,5 @@ { - "main": "./steps.umd.js", + "main": "./steps.cjs.js", "module": "./steps.esm.js", "unpkg": "./steps.min.js", "types": "./Steps.d.ts" diff --git a/src/components/tabmenu/package.json b/src/components/tabmenu/package.json index d7b8fa06c..dfbe422a3 100644 --- a/src/components/tabmenu/package.json +++ b/src/components/tabmenu/package.json @@ -1,5 +1,5 @@ { - "main": "./tabmenu.umd.js", + "main": "./tabmenu.cjs.js", "module": "./tabmenu.esm.js", "unpkg": "./tabmenu.min.js", "types": "./TabMenu.d.ts" diff --git a/src/components/tabpanel/package.json b/src/components/tabpanel/package.json index 2233ec99d..3f16b7901 100644 --- a/src/components/tabpanel/package.json +++ b/src/components/tabpanel/package.json @@ -1,5 +1,5 @@ { - "main": "./tabpanel.umd.js", + "main": "./tabpanel.cjs.js", "module": "./tabpanel.esm.js", "unpkg": "./tabpanel.min.js", "types": "./TabPanel.d.ts" diff --git a/src/components/tabview/package.json b/src/components/tabview/package.json index 8e711a0c4..2f8f57fd4 100644 --- a/src/components/tabview/package.json +++ b/src/components/tabview/package.json @@ -1,5 +1,5 @@ { - "main": "./tabview.umd.js", + "main": "./tabview.cjs.js", "module": "./tabview.esm.js", "unpkg": "./tabview.min.js", "types": "./TabView.d.ts" diff --git a/src/components/tag/package.json b/src/components/tag/package.json index 6f195612f..01d43c6aa 100644 --- a/src/components/tag/package.json +++ b/src/components/tag/package.json @@ -1,5 +1,5 @@ { - "main": "./tag.umd.js", + "main": "./tag.cjs.js", "module": "./tag.esm.js", "unpkg": "./tag.min.js", "types": "./Tag.d.ts" diff --git a/src/components/terminal/package.json b/src/components/terminal/package.json index 4a7884c9d..ad4a35871 100644 --- a/src/components/terminal/package.json +++ b/src/components/terminal/package.json @@ -1,5 +1,5 @@ { - "main": "./terminal.umd.js", + "main": "./terminal.cjs.js", "module": "./terminal.esm.js", "unpkg": "./terminal.min.js", "types": "./Terminal.d.ts" diff --git a/src/components/terminalservice/package.json b/src/components/terminalservice/package.json index e03dffe07..81adae895 100644 --- a/src/components/terminalservice/package.json +++ b/src/components/terminalservice/package.json @@ -1,5 +1,5 @@ { - "main": "./terminalservice.umd.js", + "main": "./terminalservice.cjs.js", "module": "./terminalservice.esm.js", "unpkg": "./terminalservice.min.js", "types": "./Terminalservice.d.ts" diff --git a/src/components/textarea/package.json b/src/components/textarea/package.json index 7050e2c20..270d58e35 100644 --- a/src/components/textarea/package.json +++ b/src/components/textarea/package.json @@ -1,5 +1,5 @@ { - "main": "./textarea.umd.js", + "main": "./textarea.cjs.js", "module": "./textarea.esm.js", "unpkg": "./textarea.min.js", "types": "./Textarea.d.ts" diff --git a/src/components/tieredmenu/package.json b/src/components/tieredmenu/package.json index cebe30128..57bb75e27 100644 --- a/src/components/tieredmenu/package.json +++ b/src/components/tieredmenu/package.json @@ -1,5 +1,5 @@ { - "main": "./tieredmenu.umd.js", + "main": "./tieredmenu.cjs.js", "module": "./tieredmenu.esm.js", "unpkg": "./tieredmenu.min.js", "types": "./TieredMenu.d.ts" diff --git a/src/components/timeline/package.json b/src/components/timeline/package.json index 286d206d3..4c63a303d 100644 --- a/src/components/timeline/package.json +++ b/src/components/timeline/package.json @@ -1,5 +1,5 @@ { - "main": "./timeline.umd.js", + "main": "./timeline.cjs.js", "module": "./timeline.esm.js", "unpkg": "./timeline.min.js", "types": "./Timeline.d.ts" diff --git a/src/components/toast/package.json b/src/components/toast/package.json index b692b11d6..7db059cec 100644 --- a/src/components/toast/package.json +++ b/src/components/toast/package.json @@ -1,5 +1,5 @@ { - "main": "./toast.umd.js", + "main": "./toast.cjs.js", "module": "./toast.esm.js", "unpkg": "./toast.min.js", "types": "./Toast.d.ts" diff --git a/src/components/toasteventbus/package.json b/src/components/toasteventbus/package.json index ded2d512e..dcb778c00 100644 --- a/src/components/toasteventbus/package.json +++ b/src/components/toasteventbus/package.json @@ -1,5 +1,5 @@ { - "main": "./toasteventbus.umd.js", + "main": "./toasteventbus.cjs.js", "module": "./toasteventbus.esm.js", "unpkg": "./toasteventbus.min.js" } \ No newline at end of file diff --git a/src/components/toastservice/package.json b/src/components/toastservice/package.json index c8e53fdac..e4416d435 100644 --- a/src/components/toastservice/package.json +++ b/src/components/toastservice/package.json @@ -1,5 +1,5 @@ { - "main": "./toastservice.umd.js", + "main": "./toastservice.cjs.js", "module": "./toastservice.esm.js", "unpkg": "./toastservice.min.js", "types": "./ToastService.d.ts" diff --git a/src/components/togglebutton/package.json b/src/components/togglebutton/package.json index 474cf0f24..dc7d367d3 100644 --- a/src/components/togglebutton/package.json +++ b/src/components/togglebutton/package.json @@ -1,5 +1,5 @@ { - "main": "./togglebutton.umd.js", + "main": "./togglebutton.cjs.js", "module": "./togglebutton.esm.js", "unpkg": "./togglebutton.min.js", "types": "./ToggleButton.d.ts" diff --git a/src/components/toolbar/package.json b/src/components/toolbar/package.json index 9e9b3fd96..af477f820 100644 --- a/src/components/toolbar/package.json +++ b/src/components/toolbar/package.json @@ -1,5 +1,5 @@ { - "main": "./toolbar.umd.js", + "main": "./toolbar.cjs.js", "module": "./toolbar.esm.js", "unpkg": "./toolbar.min.js", "types": "./Toolbar.d.ts" diff --git a/src/components/tooltip/package.json b/src/components/tooltip/package.json index 9768f09fc..64bcc7e2b 100644 --- a/src/components/tooltip/package.json +++ b/src/components/tooltip/package.json @@ -1,5 +1,5 @@ { - "main": "./tooltip.umd.js", + "main": "./tooltip.cjs.js", "module": "./tooltip.esm.js", "unpkg": "./tooltip.min.js", "types": "./Tooltip.d.ts" diff --git a/src/components/tree/package.json b/src/components/tree/package.json index 14d49f125..8fbc8d83d 100644 --- a/src/components/tree/package.json +++ b/src/components/tree/package.json @@ -1,5 +1,5 @@ { - "main": "./tree.umd.js", + "main": "./tree.cjs.js", "module": "./tree.esm.js", "unpkg": "./tree.min.js", "types": "./Tree.d.ts" diff --git a/src/components/treetable/package.json b/src/components/treetable/package.json index 33a6aaf1e..87a86d685 100644 --- a/src/components/treetable/package.json +++ b/src/components/treetable/package.json @@ -1,5 +1,5 @@ { - "main": "./treetable.umd.js", + "main": "./treetable.cjs.js", "module": "./treetable.esm.js", "unpkg": "./treetable.min.js", "types": "./TreeTable.d.ts" diff --git a/src/components/tristatecheckbox/package.json b/src/components/tristatecheckbox/package.json index aca377ba8..b422bddf9 100644 --- a/src/components/tristatecheckbox/package.json +++ b/src/components/tristatecheckbox/package.json @@ -1,5 +1,5 @@ { - "main": "./tristatecheckbox.umd.js", + "main": "./tristatecheckbox.cjs.js", "module": "./tristatecheckbox.esm.js", "unpkg": "./tristatecheckbox.min.js", "types": "./TriStateCheckbox.d.ts" diff --git a/src/components/useconfirm/package.json b/src/components/useconfirm/package.json index 5c2099ac4..0d2c7bc26 100644 --- a/src/components/useconfirm/package.json +++ b/src/components/useconfirm/package.json @@ -1,5 +1,5 @@ { - "main": "./useconfirm.umd.js", + "main": "./useconfirm.cjs.js", "module": "./useconfirm.esm.js", "unpkg": "./useconfirm.min.js", "types": "./useconfirm.d.ts" diff --git a/src/components/usetoast/package.json b/src/components/usetoast/package.json index ecc812f44..b96d97858 100644 --- a/src/components/usetoast/package.json +++ b/src/components/usetoast/package.json @@ -1,5 +1,5 @@ { - "main": "./usetoast.umd.js", + "main": "./usetoast.cjs.js", "module": "./usetoast.esm.js", "unpkg": "./usetoast.min.js", "types": "./usetoast.d.ts" diff --git a/src/components/utils/package.json b/src/components/utils/package.json index e3d8338d2..05d04a395 100644 --- a/src/components/utils/package.json +++ b/src/components/utils/package.json @@ -1,5 +1,5 @@ { - "main": "./utils.umd.js", + "main": "./utils.cjs.js", "module": "./utils.esm.js", "unpkg": "./utils.min.js" } \ No newline at end of file