build: remove __BUNLDER__ flag so that HMR is available for all builds

This commit is contained in:
Evan You
2020-04-20 00:34:53 -04:00
parent fa40d1ef3a
commit 19223f5462
8 changed files with 6 additions and 14 deletions

View File

@@ -178,8 +178,6 @@ function createReplacePlugin(
__TEST__: false,
// If the build is expected to run directly in the browser (global / esm builds)
__BROWSER__: isBrowserBuild,
// is targeting bundlers?
__BUNDLER__: isBundlerESMBuild,
__GLOBAL__: isGlobalBuild,
// is targeting Node (SSR)?
__NODE_JS__: isNodeBuild,