helpers/plugins/html.js
last analyzed

Complexity

Total Complexity 0
Complexity/F 0

Size

Lines of Code 7
Function Count 0

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 0
c 0
b 0
f 0
nc 1
dl 0
loc 7
wmc 0
mnd 0
bc 0
fnc 0
bpm 0
cpm 0
noi 1
1
const HtmlWebpackPlugin = require('html-webpack-plugin');
2
const path = require('path');
3
4
module.exports = new HtmlWebpackPlugin({
5
  filename: 'index.html',
6
  template: path.normalize(__dirname + '/../template.ejs')
0 ignored issues
show
Compatibility introduced by
Consider using the path module for constructing paths since they are otherwise not cross-OS compatible.
Loading history...
7
});