Currently using a default rails app install with webpacker and react, I'm stuck with the following error SyntaxError: Unexpected keyword 'const'. Const declarations are not supported in strict mode
I might be possible to extend this easily I guess, just have no clue about how to do it. I tried to use some webpack config I do have in other working nodejs environments, with no success.
Thx a lot for any help