Use namespace for umd and iife

pull/880/head
Cagatay Civici 2021-01-18 16:05:26 +03:00
parent d68d4ae583
commit 96b7178fd3
1 changed files with 4 additions and 4 deletions

View File

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