Use namespace for umd and iife
parent
d68d4ae583
commit
96b7178fd3
|
@ -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'
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in New Issue