So I just installed Webpack in my Nativescript project directory by following the corresponding steps at https://docs.nativescript.org/best-practices/startup-times
However, having done so, the project no longer builds as I get the following errors:
app/vendor.ts(4,31): error TS2339: Property ‘context’ does not exist on type ‘NodeRequire’.
app/vendor.ts(5,8): error TS2339: Property ‘registerWebpackModules’ does not exist on type ‘Global’.
Does anyone have any steps to resolve these please?