Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix devtools typo #101

Merged
merged 1 commit into from
Aug 29, 2020
Merged

Fix devtools typo #101

merged 1 commit into from
Aug 29, 2020

Conversation

minddust
Copy link
Contributor

@minddust minddust commented Aug 29, 2020

This global var doesn't match it's definition (due to missing I) which causes the entire vite (esm) production build to fail with:

ReferenceError: __INTLFY_PROD_DEVTOOLS__ is not defined

fallback defined in mist.ts:

  if (typeof __FEATURE_PROD_DEVTOOLS__ !== 'boolean') {
    needWarn = true
    getGlobalThis().__INTLIFY_PROD_DEVTOOLS__ = false
  }

@kazupon kazupon added the Type: Bug Bug or Bug fixes label Aug 29, 2020
@kazupon
Copy link
Member

kazupon commented Aug 29, 2020

OMG!
Good Catch!
Thanks!

@kazupon kazupon merged commit a1d688b into intlify:master Aug 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Bug or Bug fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants