mirror of
https://github.com/remko/waforth
synced 2024-12-27 09:59:29 +01:00
Silence mocha warning
This commit is contained in:
parent
ee0eeb85ef
commit
05d1ee8542
1 changed files with 4 additions and 1 deletions
|
@ -53,9 +53,12 @@ function config({ entry, outputDir, title, template, mode }) {
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
],
|
],
|
||||||
|
// Mocha requires this
|
||||||
node: {
|
node: {
|
||||||
fs: "empty"
|
fs: "empty"
|
||||||
}
|
},
|
||||||
|
// Mocha requires this
|
||||||
|
performance: { hints: false }
|
||||||
};
|
};
|
||||||
if (mode === "development") {
|
if (mode === "development") {
|
||||||
result.devtool = "cheap-module-eval-source-map";
|
result.devtool = "cheap-module-eval-source-map";
|
||||||
|
|
Loading…
Reference in a new issue