Skip to content

Commit cde63a1

Browse files
committed
fix(rollupconfig): fix wrong condition for intro parameter
fix the bad condition to add in iife devlopment module a warning about missing Itee.Validator package
1 parent afefe92 commit cde63a1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

configs/rollup.conf.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ function CreateRollupConfigs ( options ) {
127127
paths: {},
128128
banner: ( isProd ) ? '' : _computeBanner( name, format ),
129129
footer: '',
130-
intro: ( isProd && format === 'iife' ) ? '' : 'if( iteeValidators === undefined ) { console.error(\'Itee.Utils need Itee.Validators to be defined first. Please check your scripts loading order.\')}',
130+
intro: ( format === 'iife' && !isProd ) ? 'if( iteeValidators === undefined ) { console.error(\'Itee.Utils need Itee.Validators to be defined first. Please check your scripts loading order.\') }' : '',
131131
outro: '',
132132
sourcemap: sourcemap,
133133
interop: true,

0 commit comments

Comments
 (0)