reddice
reddice copied to clipboard
Issue with bundle.js
I have watch the second video from : https://www.youtube.com/watch?v=e0dN1w1gJJM&t=273s
I have followed the steps but i am getting below error, because bundle.js return html. bundle.js:1 Uncaught SyntaxError: Unexpected token <
Can you please help me to resolve it.
Thanks, Viren Dave
@virendav9791 need in to webpack.config.dev.js set "filename"
output: { filename: 'bundle.js', path: '/' },
Thanks @Inglsmit ... I came across the same problem. Can you tell me why i need to add "filename" explicitly?
@ab1hi2shek becouse this video tutorial > 1year old. We get a new version Webpack, which has other settings. In the process of passing there will be more difficulties. See comments under video, there must be a solution to the problems related to incompatibility of versions