-
-
Notifications
You must be signed in to change notification settings - Fork 27.1k
Closed
Description
just leaving this for others that might be hitting this issue and frustrated.
i've been trying to get the npm run build production site to work in my ejected app, but was getting the
Uncaught SyntaxError: Unexpected token <
fixed it by changing this line in webpack.config.js
+ const publicPath = '/'//isEnvProduction
in webpack.config.js
closing, as a hint for anyone that can't get their production build to work.