Include loader for Elm files

I have no webpack on my new stencil app.
Only stencil.config.ts and tsconfig.json.
Should i include something, like webpack file?
I just created it and was trying to use an Main.elm file.
I managed to make the other except Unexpected token (Note that you need plugins to import files that are not JavaScript)
There must be a configuration for accepting elm files.