I have a project that looks like this that uses babel to transpile js so that it's compatible with requirejs. I looked at the test project and followed that example. But when i visit this in the browser I get.
"require.min.js:5 Uncaught Error: Script error for "react", needed by: main"
Have I missunderstood how I get rjs to load the build.js config?
I have a project that looks like this that uses babel to transpile js so that it's compatible with requirejs. I looked at the test project and followed that example. But when i visit this in the browser I get.
"require.min.js:5 Uncaught Error: Script error for "react", needed by: main"
Have I missunderstood how I get rjs to load the build.js config?
build.sbt
app/assets/javascripts/common.js
app/assets/javascripts/main.js
index.scala.html
transpiled main.js