That would imply Phoenix 1.4 and webpack.
Correction: For webpack 4 imports-loader.
GitHub
and the script in my base layout HTML is:
This might be a problem because as AFAIK webpack deals with modular JavaScript, not script in the page. So the easiest way to deal with that is to install Phoenix with --no-webpack
(see also).