Skip to content
This repository has been archived by the owner on Nov 16, 2018. It is now read-only.

change local settings of webpack to fix error 'Unexpected token" #21

Open
wants to merge 1 commit into
base: step3_add_django_webpack_loader
Choose a base branch
from

Conversation

phamcong
Copy link

I have had this error when running weback at the end of STEP 3.

screen shot 2017-10-13 at 12 23 52 pm

I changed the webpack.local.config.js by following this post: https://stackoverflow.com/questions/33460420/babel-loader-jsx-syntaxerror-unexpected-token?answertab=votes#tab-top

@FedeG
Copy link

FedeG commented Oct 23, 2017

You are remove react-hot loader and the query attribute was in .babelrc file.
have you .babelrc file with presets?

@bossajie
Copy link

bossajie commented Jul 20, 2018

Thank you so much @phamcong .

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

Successfully merging this pull request may close these issues.

3 participants