Skip to content

Commit f6992e6

Browse files
committedJun 6, 2019
chore(lint): format all files as per prettier plugin
format files
1 parent 671abd5 commit f6992e6

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed
 

‎bin/cli.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ For more information, see https://webpack.js.org/api/cli/.`);
108108
*/
109109
const stdout = argv.silent
110110
? {
111-
write: () => {}
111+
write: () => {}
112112
} // eslint-disable-line
113113
: process.stdout;
114114

‎bin/config/config-yargs.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ module.exports = function(yargs) {
349349
},
350350
p: {
351351
type: "boolean",
352-
describe: "shortcut for --optimize-minimize --define process.env.NODE_ENV=\"production\"",
352+
describe: 'shortcut for --optimize-minimize --define process.env.NODE_ENV="production"',
353353
group: BASIC_GROUP
354354
},
355355
silent: {

‎bin/utils/convert-argv.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ module.exports = function(...args) {
2424
}
2525
if (argv.p) {
2626
argv["optimize-minimize"] = true;
27-
argv["define"] = [].concat(argv["define"] || []).concat("process.env.NODE_ENV=\"production\"");
27+
argv["define"] = [].concat(argv["define"] || []).concat('process.env.NODE_ENV="production"');
2828
if (!argv.mode) {
2929
argv.mode = "production";
3030
}

0 commit comments

Comments
 (0)
Please sign in to comment.