Passed
Push — master ( dd4858...cff89c )
by Roeland
15:08
created

core/webpack.prod.js (3 issues)

1
const merge = require('webpack-merge')
2
const common = require('./webpack.common.js')
3
4
module.exports = common.map(
0 ignored issues
show
module does not seem to be defined.
Loading history...
5
	config => merge(config, {
0 ignored issues
show
'arrow function syntax (=>)' is only available in ES6 (use 'esversion: 6').

Generally using ECMAScript 6 specific syntax is fine if you are sure that it is already supported by all engines which are supposed to run this code.

Further Reading:

Loading history...
6
		mode: 'production',
7
		devtool: '#source-map',
8
	})
9
)
0 ignored issues
show
There should be a semicolon.

Requirement of semicolons purely is a coding style issue since JavaScript has specific rules about semicolons which are followed by all browsers.

Further Readings:

Loading history...
10