Skip to content

Commit 1208aa6

Browse files
feat: add new flag and patch sec dep (#1102)
1 parent 6ad6099 commit 1208aa6

File tree

3 files changed

+12
-3
lines changed

3 files changed

+12
-3
lines changed

bin/config/config-yargs.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,11 @@ module.exports = function(yargs) {
117117
group: BASIC_GROUP,
118118
requiresArg: true
119119
},
120+
"no-cache": {
121+
type: "boolean",
122+
describe: "Disables cached builds",
123+
group: BASIC_GROUP
124+
},
120125
"module-bind": {
121126
type: "string",
122127
describe: "Bind an extension to a loader",

bin/utils/convert-argv.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -434,6 +434,10 @@ module.exports = function(...args) {
434434
addPlugin(options, new HotModuleReplacementPlugin());
435435
});
436436

437+
ifBooleanArg("no-cache", function() {
438+
options.cache = false;
439+
});
440+
437441
ifBooleanArg("debug", function() {
438442
const LoaderOptionsPlugin = require("webpack").LoaderOptionsPlugin;
439443
addPlugin(

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy