django-reactjs-boilerplate icon indicating copy to clipboard operation
django-reactjs-boilerplate copied to clipboard

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

Open phamcong opened this issue 8 years ago • 2 comments
trafficstars

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

phamcong avatar Oct 13 '17 10:10 phamcong

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

FedeG avatar Oct 23 '17 17:10 FedeG

Thank you so much @phamcong .

bossajie avatar Jul 20 '18 04:07 bossajie