Closed mickeyvip closed 4 years ago
Hello.
I am trying to use Webpack 5 and while the compiling goes without errors, in the browser I get the following:
This is shows that the Elm code was compiled and got to the client:
Am I doing something wrong or does current implementation has problems with Webpack 5?
Thank you.
It figures that the import is not default. Need to be:
import
// import Elm from './Main.elm'; // wrong import { Elm } from './Main.elm'; // right
Hello.
I am trying to use Webpack 5 and while the compiling goes without errors, in the browser I get the following:
This is shows that the Elm code was compiled and got to the client:
Am I doing something wrong or does current implementation has problems with Webpack 5?
Thank you.