Remove namespace

pull/880/head
Cagatay Civici 2021-01-18 16:41:06 +03:00
parent 96b7178fd3
commit 034fb6c146
1 changed files with 6 additions and 5 deletions

View File

@ -15,7 +15,7 @@ function addEntry(folder, inFile, outFile) {
output: [ output: [
{ {
format: 'umd', format: 'umd',
name: 'primevue.' + folder, name: folder,
file: 'dist/' + folder + '/' + outFile + '.umd.js' file: 'dist/' + folder + '/' + outFile + '.umd.js'
}, },
{ {
@ -24,8 +24,9 @@ function addEntry(folder, inFile, outFile) {
}, },
{ {
format: 'iife', format: 'iife',
name: 'PrimeVue.' + folder, name: folder,
file: 'dist/' + folder + '/' + outFile + '.js' file: 'dist/' + folder + '/' + outFile + '.js',
external: ['Ripple']
} }
], ],
plugins: [ plugins: [
@ -39,7 +40,7 @@ function addEntry(folder, inFile, outFile) {
output: [ output: [
{ {
format: 'umd', format: 'umd',
name: 'primevue.' + folder, name: folder,
file: 'dist/' + folder + '/' + outFile + '.umd.min.js' file: 'dist/' + folder + '/' + outFile + '.umd.min.js'
}, },
{ {
@ -48,7 +49,7 @@ function addEntry(folder, inFile, outFile) {
}, },
{ {
format: 'iife', format: 'iife',
name: 'primevue.' + folder, name: folder,
file: 'dist/' + folder + '/' + outFile + '.min.js' file: 'dist/' + folder + '/' + outFile + '.min.js'
} }
], ],