Skip to content
Prev Previous commit
Next Next commit
Remove string replace that was used for oclif
  • Loading branch information
code-asher committed Apr 9, 2019
commit c42b63ec3c8c532fab283fead2cf3fa569f6aaa6
11 changes: 0 additions & 11 deletions scripts/webpack.general.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,17 +55,6 @@ module.exports = (options = {}) => ({
flags: "g",
}],
},
}, {
// This is required otherwise it attempts to require("package.json")
test: /@oclif(\\|\/)command(\\|\/)lib(\\|\/)index\.js/,
loader: "string-replace-loader",
options: {
multiple: [{
search: "checkNodeVersion\\(\\);",
replace: "",
flags: "g",
}],
},
}, {
test: /node\-pty\-prebuilt(\\|\/)lib(\\|\/)index\.js/,
loader: "string-replace-loader",
Expand Down