Closed farfromrefug closed 9 months ago
any documentation that for this?
@vallemar dont think so that part of the CLI is not really documented
@farfromrefug true, I thought that was here https://docs.nativescript.org/configuration/webpack
They should be documented here:
Will add once we publish this.
@rigor789 When I saw that I thought that it could only be passed as a parameter in the terminal, can we add something quick that indicates that those flags can be passed through webpack and a simple example of one??? I would do it myself
@vallemar these are internal flags, you wouldn't normally pass them via the terminal unless you're doing something completely out of the ordinary - like running webpack separately on it's own or whatever. The CLI passes these automatically based on nativescript config, and are then used by webpack config to set __ANDROID__
and so globals, enable/disable hmr etc.
PR Checklist
What is the current behavior?
What is the new behavior?
Fixes/Implements/Closes #[Issue Number].