-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
require.context crashes in main.ts #2531
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
Labels
Comments
Please provide a repository with project using the exact code that causes this error. |
|
@sodatea that worked perfectly fine. Thank you! |
haoqunjiang
added a commit
that referenced
this issue
Sep 16, 2018
kazupon
added a commit
to intlify/vue-cli-plugin-i18n
that referenced
this issue
Feb 22, 2019
kazupon
added a commit
to intlify/vue-cli-plugin-i18n
that referenced
this issue
Feb 22, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Version
3.0.1
Node and OS info
Node v8.11.3 / Yarn 1.3.2 / Mac OSX
Steps to reproduce
code snippet:
now while doing
yarn serve
it breaks the build with errorWhat is expected?
require.context should be allowed in ts definitions for import.
What is actually happening?
context
method no available on NodeRequireThe text was updated successfully, but these errors were encountered: