webpack.config.js
last analyzed

Complexity

Total Complexity 0
Complexity/F 0

Size

Lines of Code 24
Function Count 0

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
wmc 0
eloc 16
mnd 0
bc 0
fnc 0
dl 0
loc 24
bpm 0
cpm 0
noi 1
c 0
b 0
f 0
1
let path = require('path');
2
let webpack = require('webpack');
0 ignored issues
show
Unused Code introduced by
The variable webpack seems to be never used. Consider removing it.
Loading history...
3
4
module.exports = {
5
  watch: true,
6
  entry: {
7
    'arm-ui': './src/js/arm-ui.js'
8
  },
9
  output: {
10
    path: path.resolve(__dirname, 'dist/js'),
11
    filename: '[name].min.js'
12
  },
13
  module: {
14
      rules: [
15
          {
16
              test: /\.js$/,
17
              loader: 'babel-loader',
18
              query: {
19
                  presets: ['@babel/preset-env']
20
              }
21
          }
22
      ]
23
  }
24
};