IntelliJ is right to whine about this. Elm is not a file, it's a result of this config in webpack:
resolve: {
extensions: ['', '.js', '.es6'],
alias: {
Elm: path.resolve('builds/intellij/scripts/elm-program.js')
}
}
How do I tell intellij that there's nothing to worry about? That it's gonna be provided eventually?
These are the only options provided by the suggestions menu:
Click the >
button next to Install 'Elm'
or hit Right, then choose to either disable the inspection or suppress it for current statement:
Webpack aliases are not currently supported, please vote for WEB-13409 and linked tickets