You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using VSCode with the elm tooling extension on Windows the presence of the elm.js file at the top level of the project causes a popup every time you open one of the elm files in the src directory. It complains that "'console' is undefined".
The recommendation (taken from an elm-tooling issue ) is to not name the bundle 'elm.js'.
The text was updated successfully, but these errors were encountered:
Thanks! This has already been fixed in the final draft of the book (it uses app.js throughout now) but I haven't circled back and updated this repo yet. 😄
In the meantime I took a slightly different approach (which seems to work). I use 'elm.js' but put it in a 'js' subdirectory. VSCode is fine with that and I don't see any other issues. I did update the index.html file accordingly.
When using VSCode with the elm tooling extension on Windows the presence of the elm.js file at the top level of the project causes a popup every time you open one of the elm files in the src directory. It complains that "'console' is undefined".
The recommendation (taken from an elm-tooling issue ) is to not name the bundle 'elm.js'.
The text was updated successfully, but these errors were encountered: