diff --git a/components/lib/componentbase/package.json b/components/lib/componentbase/package.json new file mode 100644 index 0000000000..384e683a02 --- /dev/null +++ b/components/lib/componentbase/package.json @@ -0,0 +1,6 @@ +{ + "main": "./componentbase.cjs.js", + "module": "./componentbase.esm.js", + "unpkg": "./componentbase.min.js", + "sideEffects": false +} diff --git a/rollup.config.js b/rollup.config.js index 22a62010e6..e4e6005bd4 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -68,6 +68,7 @@ const ALIAS_ICON_COMPONENT_ENTRIES = [ const ALIAS_COMPONENT_ENTRIES = [ { find: '../utils/Utils', replacement: 'primereact/utils' }, { find: '../api/Api', replacement: 'primereact/api' }, + { find: '../componentbase/ComponentBase', replacement: 'primereact/componentbase' }, { find: '../hooks/Hooks', replacement: 'primereact/hooks' }, { find: '../ripple/Ripple', replacement: 'primereact/ripple' }, { find: '../csstransition/CSSTransition', replacement: 'primereact/csstransition' },