Skip to content

Commit a410ea2

Browse files
chore(package): update webpack-log v1.2.0...2.0.0 (#331)
1 parent 5951de9 commit a410ea2

File tree

3 files changed

+26
-29
lines changed

3 files changed

+26
-29
lines changed

lib/fs.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const fs = require('fs');
44
const path = require('path');
55
const MemoryFileSystem = require('memory-fs');
66
const pathabs = require('path-is-absolute');
7-
const { chalk } = require('webpack-log');
7+
const { colors } = require('webpack-log');
88
const NodeOutputFileSystem = require('webpack/lib/node/NodeOutputFileSystem');
99
const DevMiddlewareError = require('./DevMiddlewareError');
1010

@@ -43,7 +43,7 @@ module.exports = {
4343

4444
try {
4545
fs.writeFileSync(writePath, output, 'utf-8');
46-
log.debug(chalk`{cyan Asset written to disk}: ${relativePath}`);
46+
log.debug(colors.cyan(`Asset written to disk: ${relativePath}`));
4747
} catch (e) {
4848
log.error(`Unable to write asset to disk:\n${e}`);
4949
}

package-lock.json

+23-26
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"path-is-absolute": "^1.0.0",
2626
"range-parser": "^1.0.3",
2727
"url-join": "^4.0.0",
28-
"webpack-log": "^1.2.0"
28+
"webpack-log": "^2.0.0"
2929
},
3030
"devDependencies": {
3131
"assert": "^1.4.1",

0 commit comments

Comments
 (0)