Skip to content

Commit a8df3e7

Browse files
author
Fatme
authored
Merge pull request #3981 from NativeScript/fatme/update-not-supported-webpack-msg
fix: show more descriptive message when `tns preview -hmr` command is executed and the project has webpack plugin with version lower than 0.17.0
2 parents 7e79535 + e6aea00 commit a8df3e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/constants.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -230,5 +230,5 @@ export class IosProjectConstants {
230230

231231
export class BundleValidatorMessages {
232232
public static MissingBundlePlugin = "Passing --bundle requires a bundling plugin. No bundling plugin found or the specified bundling plugin is invalid.";
233-
public static NotSupportedVersion = `The NativeScript CLI requires nativescript-dev-webpack %s or later to work properly.`;
233+
public static NotSupportedVersion = `The NativeScript CLI requires nativescript-dev-webpack %s or later to work properly. After updating nativescript-dev-webpack you need to ensure "webpack.config.js" file is up to date with the one in the new version of nativescript-dev-webpack. You can automatically update it using "./node_modules/.bin/update-ns-webpack --configs" command.`;
234234
}

0 commit comments

Comments
 (0)