Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with bundle.js #16

Open
virendav9791 opened this issue Oct 30, 2017 · 3 comments
Open

Issue with bundle.js #16

virendav9791 opened this issue Oct 30, 2017 · 3 comments

Comments

@virendav9791
Copy link

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

@Inglsmit
Copy link

@virendav9791
need in to webpack.config.dev.js
set "filename"

output: { filename: 'bundle.js', path: '/' },

@ab1hi2shek
Copy link

Thanks @Inglsmit ... I came across the same problem. Can you tell me why i need to add "filename" explicitly?

@Inglsmit
Copy link

Inglsmit commented Mar 7, 2018

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants