wip: suspense feature flag

This commit is contained in:
Evan You
2019-09-09 16:28:32 -04:00
parent 7e70acf9c2
commit d5e9682040
5 changed files with 37 additions and 16 deletions

View File

@@ -140,6 +140,7 @@ function createReplacePlugin(isProduction, isBunlderESMBuild, isBrowserBuild) {
// support options?
// the lean build drops options related code with buildOptions.lean: true
__FEATURE_OPTIONS__: !packageOptions.lean,
__FEATURE_SUSPENSE__: true,
// this is only used during tests
__JSDOM__: false
})