-
Notifications
You must be signed in to change notification settings - Fork 105
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
Nested Elm
variable when using webpack2
#149
Comments
PRs welcome |
Have confirmed this is also happening with WP4 and Elm 0.19. |
For those of us using es6 modules, this did the trick for me:
As noted above, you can also do this:
|
This also worked for me, using webpack 5 with Typescript and Elm 0.19.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I tried to reproduce this with the included webpack2 example but I couldn't get that one running.
The issue is that using webpack2 seems to nest the
Elm
javascript variable.Example (working code):
Found this while upgrading elm-select here
The text was updated successfully, but these errors were encountered: