blob: 18f382b0630ddfc4b7170010fb6ba7ad5172179d [file] [log] [blame]
export default {
input: './build/angular/index.js',
output: {
name: 'sdcUiAngular',
file: './lib/angular/index.js',
format: 'es',
exports: 'named',
},
external: [
'@angular/core',
'@angular/common',
'@angular/common/http',
'@angular/upgrade/static',
'@angular/forms',
'@angular/platform-browser',
'@angular/http',
'@rxjs/add/operator/debounceTime',
'rxjs/Subject',
'rxjs/add/operator/debounceTime',
'rxjs/add/operator/map',
'rxjs/BehaviorSubject',
'rxjs/Subject'
],
onwarn: function(warning) {
// Skip certain warnings
// should intercept ... but doesn't in some rollup versions
if ( warning.code === 'THIS_IS_UNDEFINED' ) { return; }
// console.warn everything else
console.warn( warning.message );
}
};