From 034fb6c146d079ee2fe4be677bb14e07b05938b8 Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Mon, 18 Jan 2021 16:41:06 +0300 Subject: [PATCH] Remove namespace --- rollup.config.js | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/rollup.config.js b/rollup.config.js index 20dd534e3..cb6fca82f 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -15,7 +15,7 @@ function addEntry(folder, inFile, outFile) { output: [ { format: 'umd', - name: 'primevue.' + folder, + name: folder, file: 'dist/' + folder + '/' + outFile + '.umd.js' }, { @@ -24,8 +24,9 @@ function addEntry(folder, inFile, outFile) { }, { format: 'iife', - name: 'PrimeVue.' + folder, - file: 'dist/' + folder + '/' + outFile + '.js' + name: folder, + file: 'dist/' + folder + '/' + outFile + '.js', + external: ['Ripple'] } ], plugins: [ @@ -39,7 +40,7 @@ function addEntry(folder, inFile, outFile) { output: [ { format: 'umd', - name: 'primevue.' + folder, + name: folder, file: 'dist/' + folder + '/' + outFile + '.umd.min.js' }, { @@ -48,7 +49,7 @@ function addEntry(folder, inFile, outFile) { }, { format: 'iife', - name: 'primevue.' + folder, + name: folder, file: 'dist/' + folder + '/' + outFile + '.min.js' } ],