Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit c42b63e

Browse files
committedApr 9, 2019
Remove string replace that was used for oclif
1 parent ce968b6 commit c42b63e

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed
 

‎scripts/webpack.general.config.js

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -55,17 +55,6 @@ module.exports = (options = {}) => ({
5555
flags: "g",
5656
}],
5757
},
58-
}, {
59-
// This is required otherwise it attempts to require("package.json")
60-
test: /@oclif(\\|\/)command(\\|\/)lib(\\|\/)index\.js/,
61-
loader: "string-replace-loader",
62-
options: {
63-
multiple: [{
64-
search: "checkNodeVersion\\(\\);",
65-
replace: "",
66-
flags: "g",
67-
}],
68-
},
6958
}, {
7059
test: /node\-pty\-prebuilt(\\|\/)lib(\\|\/)index\.js/,
7160
loader: "string-replace-loader",

0 commit comments

Comments
 (0)
Please sign in to comment.