Silence mocha warning

This commit is contained in:
Remko Tronçon 2018-05-29 22:55:17 +02:00
parent ee0eeb85ef
commit 05d1ee8542

View file

@ -53,9 +53,12 @@ function config({ entry, outputDir, title, template, mode }) {
)
)
],
// Mocha requires this
node: {
fs: "empty"
}
},
// Mocha requires this
performance: { hints: false }
};
if (mode === "development") {
result.devtool = "cheap-module-eval-source-map";