Command
define: { __APP_VERSION__: JSON.stringify(process.env.npm_package_version) }Explanation
Define global constants that are replaced at build time for configuration and feature flags.
Examples
Define app version
define: { __APP_VERSION__: JSON.stringify(process.env.npm_package_version) }Define development flag
define: { __DEV__: true }