rollup.config.js   A
last analyzed

Complexity

Total Complexity 0
Complexity/F 0

Size

Lines of Code 23
Function Count 0

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 2
Bugs 0 Features 0
Metric Value
cc 0
wmc 0
c 2
b 0
f 0
nc 1
mnd 0
bc 0
fnc 0
dl 0
loc 23
rs 10
bpm 0
cpm 0
noi 1
1
import cleanup from 'rollup-plugin-cleanup';
0 ignored issues
show
introduced by
Definition for rule 'keyword-spacing' was not found
Loading history...
2
3
export default {
4
  input: "./src/ig_backgrid.js",
5
  extend: true,
6
  plugins: [cleanup],
7
  output: [{
8
    file: "dist/backgrid.js",
9
    format: "umd",
10
    exports: 'named',
11
    name: 'BackgridES6'
12
  }, {
13
    file: "dist/backgrid.es6.js",
14
    format: "es"
15
  }],
16
17
  external: ['underscore', 'jquery', 'backbone'],
18
  globals: {
19
    jquery: '$',
20
    underscore: '_',
21
    backbone: 'Backbone'
22
  }
23
};
24