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
require is not defined
Open the developer console for more details.
Appears to be happening because when compiling my test code with webpack via the elm-webpack-loader. module.exports = Elm; is appended to the resulting file making the current guards around the require call insufficient.
Fix seems to be to just add a check to see if require is defined. Will send out a pull request.
The text was updated successfully, but these errors were encountered:
Full details are here deadfoxygrandpa/elm-test#32 (comment)
Essentially what is going on is that I am seeing
Appears to be happening because when compiling my test code with webpack via the elm-webpack-loader.
module.exports = Elm;
is appended to the resulting file making the current guards around the require call insufficient.Fix seems to be to just add a check to see if require is defined. Will send out a pull request.
The text was updated successfully, but these errors were encountered: