summaryrefslogtreecommitdiffstats
path: root/rollup.angular.module.config.js
blob: 18f382b0630ddfc4b7170010fb6ba7ad5172179d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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 );
    }
};